RE: [PHP-DB] Please help
| From: | Peter Lovatt | Date: | Wed, 08 Sep 2004 20:14:28 +0000 |
| Subject: | RE: [PHP-DB] Please help | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36120@lists.php.net to get a copy of this message | ||
HI
try
$result = mysql_query($sql . " " . $sql_ext . " limit 0,1")
or die("Invalid query".mysql_error());
which will give more detail on the error.
HTH
Peter
> -----Original Message-----
> From: Stuart Felenstein [mailto:stuart4m@yahoo.com]
> Sent: 08 September 2004 20:29
> To: php-db@lists.php.net
> Subject: [PHP-DB] Please help
>
>
> I'm using a product called dbqwiksite pro. PHP
> generator for PHP - MySQL
>
> The code seems to be working fine except in my search
> page where I receive an "invalid query"
>
> $result = mysql_query($sql . " " . $sql_ext . " limit
> 0,1")
> or die("Invalid query");
>
> This is the place I where the code is taking the die
> path.
> I'm guessing something belongs between the quotation
> marks , just not sure.
>
> Anyone ?
>
> Thank you
> Stuart
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>