Jump to content

need help *old noob*


carpekd

Recommended Posts

I'm started writing php stuff back when php3 was around, and I got out of it for years.  Now, I'm getting back into it, and I'm trying to revive an old forum script I wrote.  I'm having an unusual problem.  It's probably something with newer versions of PHP that I don't know about

 

I want to call up a portion of code with the url: www.site.com/script.php?step=2

 

my code looks like this:

if ($step=="2") {

// do this code

}

 

however, it doesn't work!

 

what am i doing wrong?

Link to comment
https://forums.phpfreaks.com/topic/96052-need-help-old-noob/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.