What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP Help

PHP Help
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: PHP Help
LOL well I guess you could say I’m a half assed coder. I examine others codes and take parts and put them into mine. I'm not good with PHP, I’m still learning so there is still a lot more I need to learn. Thakns for you help, i'm still not sure how to fit that into the code but i'll try :P Thanks


EDIT:

code:
switch ($song_gender)
{
case 'country_and_western':
die();
case 'techno':
// do something useful here
default:
// unrecognised genre
}

Some questions:

What does die() do? Does it end the code?

Under default: will that code be used every time the case is called?

This post was edited on 03-02-2005 at 09:33 PM by DJeX.
[Image: top.gif]
03-02-2005 09:30 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP Help - by DJeX on 03-02-2005 at 03:44 AM
RE: PHP Help - by fluffy_lobster on 03-02-2005 at 06:06 PM
RE: PHP Help - by DJeX on 03-02-2005 at 09:30 PM
RE: PHP Help - by KeyStorm on 03-02-2005 at 09:45 PM
RE: PHP Help - by fluffy_lobster on 03-03-2005 at 10:34 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On