[snip]
I did the var_dump and got:

bool(false)

While $vthere (from my previous post) returns 0 (zero) still.  :\

But proceeds as if 0 were a false statement when asked if $vthere equals
zero.  :\

-Mike
[/snip]

Is the query executing properly? Try this ...

$sql = "SELECT ID from tblItems WHERE number = '" . $place . "' ");
if(!($person = mysql_query($sql, $connect_variable))){
   print(mysql_error() . "\n");
   exit();
}

It is a verbose test

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

Reply via email to