Forum Moderators: coopster
switch($Cost) {
case < 10:
echo "price was less than 10 pounds";
break;
case >= 10:
echo "price was more than 10 pounds";
break;
default:
echo "An error occurred";
}
If so is there any documentation on it?
Thanks in advance.
Dave
As of the 'conditional case statements', no you cant use them.
Simple... run the above script and see what errors it shows.