Ok, I know you can pass variables to a script by saying: a.php?count=2 in the address.
But how can you tell if something has been passed or not? Thanks, Adam Clauss
Use the isset() function. For example,
<?php if (isset($count)) { echo ($count); } else { $count = 1; }
This will output the value of count if it is passed and otherwise will initialize a new variable count to the value of 1.
Hope this helps.
Dave
<?php echo (isset($count) || !empty($count) || $count != '') ? "TRUE" : "FALSE"; ?>