Sorry, but I didn't finish my previous e-mail :)


 >I'm trying to evaluate the following lines to see if "$myrow" is false or 
true, can you help?

$sql = "SELECT * FROM Employees WHERE ID=$id";
$result = pg_exec($db, $sql) or die(include("../sqlerror.inc"));
$myrow = pg_fetch_array($result,0) or die(include("../sqlerror.inc"));

Julio Cuz, Jr.
Riverside Community College

PHP Database 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