Fra: savaidis [mailto:[EMAIL PROTECTED]]
Sendt: 17. april 2002 22:14
Emne: a query from php doen't work
I get a Query failed error on this:
What could hapent?
Try to alter this line:
$result=mysql_query($buffer);
to look like this:
$result=mysql_query($buffer) or die($buffer.hr.mysql_error());
Then you will a) print the failed query, and b) print MySQL's own
error-response. Then you cal probably figure out, what is wrong.
- Carsten
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php