Matt Zur wrote: > BUT on the index.php I want to write this if statement: > > if ($vw == "") { > write this code > }
If you really mean to see if the variable has been set, try this instead: if (!isset($vw)) { echo "variable is not set"; } Happy hacking. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php