Evaluting T/F (3)
| From: | Julio Cuz, Jr. | Date: | Wed, 14 Mar 2001 18:37:50 +0000 |
| Subject: | Evaluting T/F (3) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7466@lists.php.net to get a copy of this message | ||
HI-- Sorry again...arrrrggghhhh...
Hi--
I'm trying to evaluate the following lines to see if "$myrow" is false or true, can you help?
-----------------------------------------------------------------
$db .....;
$sql = "SELECT * FROM Employees WHERE ID=$id";
$result = pg_exec($db, $sql);
$myrow = pg_fetch_array($result,0) or die(include("../sqlerror.inc"));
-----------------------------------------------------------------
Julio Cuz, Jr.
Riverside Community College
jcuz@rccd.cc.ca.us