SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Quering records with & sign
-
Dec 7, 2009, 19:35 #1
Quering records with & sign
Hey guys,
I'm having trouble grabbing records with the '&' sign included in them.
Here's my php codingCode:$query = sprintf("SELECT `titleDescription` FROM products WHERE `titleDescription`='%s'", mysql_real_escape_string($titleDescription) );
-
Dec 7, 2009, 20:51 #2
Nevermind, it had to do with me forgetting to encode a certain name value pair when sending the data via ajax.
Bookmarks