note 2090 deleted from pg_Exec by jmoore
| From: | jmoore@php.net | Date: | Fri, 18 Aug 2000 22:57:04 +0000 |
| Subject: | note 2090 deleted from pg_Exec by jmoore | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2530@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.