DB::execute issue in insert or update with mysql
| From: | Sonny2 at gmx dot de | Date: | Wed, 12 Feb 2003 23:39:17 +0000 |
| Subject: | DB::execute issue in insert or update with mysql | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3730@lists.php.net to get a copy of this message | ||
Hello Folks,
I don't know maybe i do something wrong in the execute, in my case an
insert
or update.
Following sample code:
$sql = "Update BUDGET_USERS set BGT_log=NOW() where
BGT_uid='".$query['uid']."'";
$my->execute($sql);
OR
$my->query($sql);
Both does not generate any errors, but they don't work. I have tried it as
well like the sample on the pear page via array. Same- No error and no
update.
Thanks in forward.
Cheers
Peter
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!