Hi.
On Mon, Mar 11, 2002 at 09:42:01AM -0500, [EMAIL PROTECTED] wrote:
>
> When I call the following PHP script, $qry_1 doesn't work (No query # 1!).
>
> <?php
[...]
> $result_1=mysql_query($qry_1,$connection) or die ("No query # 1!");
At first glance, I don't see any error. But change the previous line
to something like
$result_1=mysql_query($qry_1,$connection)
or die("query #1: " . mysql_errno() . ": " . mysql_error() . "<br>");
And you will get a more reasonable error message.
Bye,
Benjamin.
--
[EMAIL PROTECTED]
---------------------------------------------------------------------
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