note 2090 modified in pg_Exec by ronabop
| From: | ronabop@php.net | Date: | Thu, 17 Aug 2000 08:53:50 +0000 |
| Subject: | note 2090 modified in pg_Exec by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2055@lists.php.net to get a copy of this message | ||
<PRE>
$result = ($database, "SELECT blah, blah...");
$rows = pg_numrows($result);
if ($rows => 1) {
echo "Found something....";
} else {
echo "Nothing there.";
}
</PRE>
But to find out if an UPDATE or INSERT worked is another question and one I wish I had an answer
for.
http://www.php.net/manual/function.pg-exec.php