"Ron Allen" <[EMAIL PROTECTED]> wrote in message
> I have a problem with the inital load of my page
> When it loads it says that the variable is not defined. When I click on
> search after that it works fine.
> How do I get PHP to recognize a variable as a certain value without making
> it a static value?

if (!isset($myvar))
    $myvar = "this is my default value";

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to