What exactly is the error message? I know this sounds stupid, but are you 
sure it isn't just a warning? By default, PHP will output all warnings and 
errors to standard output (e.g. the browser).

Olivier

>Can PHP deal with variables that are not initialized? It is kicking out an
>error when it runs into something that is not defined yet.
>
>mysql_select_db("mydb",$db);
>
>if ($id) {                              <=========Not initialized and PHP
>kicks an error?
>
>   // query the DB
>
>
>Thanks!
>Dwight


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to