PHP-MySQL update problem
| From: | Tiger Quimpo | Date: | Tue, 25 Jul 2000 06:14:53 +0000 |
| Subject: | PHP-MySQL update problem | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1448@lists.php.net to get a copy of this message | ||
hello all,
I'm got a problem with mysql_query. selects work as expected. But when
the query is an insert or update, mysql_query is returning a string (not
an integer as expected) and the query does not actually occur in the
database.
Has anyone else seen this?
MySQL is version 3.22.32
PHP is version 3.0.15
I've tested both on Linux (Mandrake 7) and FreeBSD (ver 4.0) and I get the
same results on both.
I can email a simple test case if anyone is interested.
Thanks for any help.
(yes... i think i *will* upgrade to 4.0 now... i'm being a little
conservative though. I don't want my other --currently working scripts --
to stop working due to the upgrade).
tiger
--
Gerald Timothy Quimpo tiger@kami.com http://members.xoom.com/TigerQuimpo
entia non sunt multiplicanda veritas liberabit vos
praetere necessitatem mene sakhet ur-seveh