Ive been using the following code on several pages and in the past it has worked flawlessly and never generated any warnings..
if(!($upload))
{
$query = "SELECT * FROM RevBookSetup WHERE ID = 'one' ";
...
anyways, if the script is run and no value is passed for $upload, it does this, and if $upload is set , it does this instead. Its always worked before without any warnings showing up. Now, I keep getting this error:
Warning: Undefined variable: upload in /home/idahopag/public_html/witchesrealm/wr/revbook/revbookadmin/revbookadmin.php3 on line 18
Sometimes it shows up, sometimes it doesn't.. and its got me really confused..
any help is greatly appreciated!