Quote:
|
Originally Posted by blessedrub
Can someone please help me. I have a case statement
switch ($Amount)
{
case "20":
print("Not right");
break;
How can I write the statement to where if they chose 20 it will automatically go to www.example.com?
.
|
Try :
This assumes you haven't already sent anything to the browser, not even a space. If you have, this will give you an error message and quit.