Re: single quote in data breaks file load
Just want to add that it might be necessary to use some user defined function as the second argument for array_walk. I dont know how mysql_real_escape_string will react to getting 2 args passed, so:
function my_mysql_real_escape_string($val,$key){
return mysql_real_escape_string($val);
}
..
..
array_walk($data,'my_mysql_real_escape_string');
Subject
Written By
Posted
Re: single quote in data breaks file load
July 26, 2005 01:47PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.