Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

68 users online



switch statement

switch statement

Currently viewing this thread: 1 (0 members and 1 guests)


Lasac

Lasac

Lasac.nl
Status: Offline!

switch statement

what is wrong with this?

<?
switch($go) {
case "over":
echo "images/contact.jpg";
break;
case "folio":
echo "images/contact.jpg";
break;
case "contact":
echo "images/contact2.jpg";
break;
default;
echo "images/contact.jpg";
break;
}
?>

when i use this script it doesnt work on my server but php does work... how is this posible?

Phil

Phil

with Mr. Jones
Status: Offline!

$_GET['go']

___________________

http://www.philbrodeur.com - Expert PHP Development and Tutorials

theTrinity

theTrinity

David
Status: Offline!

http://www.php.net/register_globals

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0065 seconds.