What are the variables $sql and $sql_ext set to? The query format is fine. It's probably in your variables. -- Peter Ellis - pellis@xxxxxxxxxxxxxxx Web Design and Development Consultant naturalaxis | http://www.naturalaxis.com/ On Wed, 2004-09-08 at 12:29 -0700, Stuart Felenstein wrote: > 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