If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Try using "isset($_GET['x'])" instead of "!$". You're getting errors because your code is trying to actually access the $_GET['step'] variable. Since it isn't set, it throws an error. Your online server is most likely throwing the same error, it just doesn't report them to you (which is common outside of development servers).

The isset function will return TRUE if the variable inside it exists and FALSE otherwise, so you should be clear. When using it in arrays (which is the case of this example) it will return TRUE if the index exists. This means that if you have set $myArray['something'] isset($myArray) and isset($myArray['something']) will be TRUE, while isset($myArray['Something else']) will be FALSE.