PHP Classes

"Insert" breaks if data has a comma in it

Recommend this page to a friend!

      PDO Multi Connection Class  >  All threads  >  "Insert" breaks if data has a comma...  >  (Un) Subscribe thread alerts  
Subject:"Insert" breaks if data has a comma...
Summary:insert function doesn't work if data contains commas
Messages:1
Author:warren porren
Date:2013-09-16 12:11:52
 

  1. "Insert" breaks if data has a comma...   Reply   Report abuse  
Picture of warren porren warren porren - 2013-09-16 12:11:53
I have just noticed that if a $db->insert query has data with commas in it, then the query is broken and half the data is put into the field list.