Comma in Advertiser name problem
-
I have an Advertiser with a comma in there Business Name and it Appears that the use of a comma causes errors in the database. Please look into adding a fix for this please.
[20-Aug-2016 15:58:50 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Gin Joint'' at line 3 for query SELECT DISTINCT sa.owner, sa.aid, sa.title, sa.description, sa.asize, CONCAT(IF((sa.trash OR (sa.moderated = 0) OR (spa.weight = 0)), "<i class='icon-eye-off'></i>", "<i class='icon-eye'></i>"), IF(sa.moderated = 0, "<i class='icon-traffic-cone'></i>", "<i class='icon-ok'></i>"), IF(sa.trash, "<i class='icon-trash'></i>", "<i class='icon-leaf'></i>")) AS status FROM wp_sampro_ads sa INNER JOIN wp_sampro_places_ads spa WHERE sa.owner = 'Mama's Gin Joint';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Comma in Advertiser name problem’ is closed to new replies.