Let’s see if someone can answer this question before I can debug it. It’s a syntax issue that I’ve tried changing. I commonly make this mistake, and I guess a definitive truth as to why I am doing it would help.
Thanks in advance!
The error this time:
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 ' 'Andrew', 'West', '***@gmail.com',
'7*7 **', '', ' at line 14
The code used:
$db_insert = mysql_query("INSERT INTO catches (
catch_affid,
catch_firstname,
catch_lastname,
catch_email,
catch_street1,
catch_street2,
catch_city,
catch_state,
catch_postalcode,
catch_country,
catch_contactid
) VALUES (
$a,
'$f',
'$l',
'$e',
'$s1',
'$s2',
'$c',
'$s',
$p,
'$cy',
'$cid'
)");
I’d guess something is wrong with the content of $a. Possibly NULL?