Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
hi,
i'm learning to use switch/case but i've this problem.
a very simple question:Code: Select all
<?php
switch ($test) {
case "40" :
echo "The value equals 40.";
break;
case "32" :
echo "The value equals 32.";
break;
default :
echo "10";
break;
}
echo"<br /><a href="?test=32">32</a>";
?>