Page is a not externally linkable
bmimatt - 6:45 pm on Aug 4, 2010 (gmt 0)
Try moving calls to mysql_escape_string() outside of the query itself, along these lines:
$p_id = mysql_real_escape_string($ACC["ref"]);
$p_name = mysql_real_escape_string($ACC["name"]);
[...]
and then in your query:
INSERT INTO whatever SET p_id = '$p_id', p_name = '$p_name'[...]