I'm getting an error when I run this. I'm sure it's simple. Any thoughts?
Code:
mysql_query("INSERT INTO leads `facility` = '{$facility}' , `leadAdded` = '{$today}' , `updatedBy` = '{$username}' , `manager` = '{$username}' , `name` = '{$_POST['name']}' , etc... ") or die(mysql_error());
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 'facility
= 'A-1' , leadAdded
= '2012-05-27 20:05:46' , updatedBy
= 'Kei' at line 1"