Jump to content

If($_get['code']=#){do Stuff} ..?


cyfer65

Recommended Posts

I'm making a PHP page that will do stuff based on the CODE # in the URLcan sumone please help me to correctly format the code below... :)*If no code is set then nothing happens..*If a number is set for the CODE parameter then I want it to do something..

if(isset($_GET['code'])){if($_GET['code']=1){Do Stuff}if($_GET['code']=2){Do Stuff}if($_GET['code']=2){Do Stuff}}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...