strange problem of mysql_query

From: Date: Wed, 02 Jun 2010 09:36:35 +0000
Subject: strange problem of mysql_query
Groups: php.general 
Request: Send a blank email to php-general+get-305738@lists.php.net to get a copy of this message
hey, i have a sql string like below: select szs_content from szs_gy_ca where szs_shengchanhao='09-s525' and szs_guige='48B32/14-1 1/8"' and szs_tuhao='48B32 1 1/8' the problem is that using mysql_query to run this sql string returns nothing,however, i can get one record through mysql query tool. i was wondering whether the double quote 48B32/14-1 1/8" makes this trouble.

« previous php.general (#305738) next »