RE: [PHP-DB] PHP-MySQL update problem
| From: | Tiger Quimpo | Date: | Fri, 28 Jul 2000 18:23:11 +0000 |
| Subject: | RE: [PHP-DB] PHP-MySQL update problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1614@lists.php.net to get a copy of this message | ||
On Tue, 25 Jul 2000, Sam Masiello wrote:
> What is the exact error message that you are getting? Try outputting your
> insert/update statement into your browser (so you can see EXACTLY what will
> be passed to your database) before actually executing it. Perhaps there is
> a syntax error?
thanks for the tip. i'd already done that. and executed the SQL directly
in the mysql client program. it works there. i then decided to write the
same program in C. it doesn't work there either.
i tested in PHP4 and it works *there*. so i guess i'll just migrate to
PHP4 rather than groveling through the minutiae trying to find the
particular bug.
btw, is there a debugger (like gdb, or better) for PHP? i find that when
i write programs that are big enough (either scripting/command-line or
web-based), i find myself wishing there were a debugger available :).
it's painful having to debug with print statements.
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