note 53828 added to function.pg-update
| From: | sdibb at myway dot com | Date: | Tue, 14 Jun 2005 14:26:10 +0000 |
| Subject: | note 53828 added to function.pg-update | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-90417@lists.php.net to get a copy of this message | ||
This function is similar to PEAR::DB's autoExecute() function, with the only difference being
that the where clause is an array instead of a string.
Also, if you want to use your instance of the DB class with this function, you can reference the
existing resource connection with $db->connection.
An example would be:
<?
pg_update($db->connection, $arr_update, $arr_where);
?>
----
Manual Page -- http://www.php.net/manual/en/function.pg-update.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+53828
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+53828&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+53828&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+53828&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+53828&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+53828&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+53828&report=yes
Search -- http://master.php.net/manage/user-notes.php