mysql query

From: Date: Mon, 04 Dec 2000 13:54:01 +0000
Subject: mysql query
Groups: php.general 
Request: Send a blank email to php-general+get-28572@lists.php.net to get a copy of this message
Hi, What is the problem with this query? $query4="select * from two where order_id=1 and foritem=1"; if(!mysql_query($query4,$link))print 'Query4 Failed<br>'; It works fine when i query the mysql directly, but says, 'query4 failed' when i call it thro PHP. all the other queries work fine except this. I have no idea, please write if u have any diea of what is wrong. Thanks, manohar __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/

« previous php.general (#28572) next »