allright so I get this error
You have an error in your SQL syntax near 'cross, loc, county, callb, carinf, reg, prob, cov, allinf, recap, expec, seconet' at line 2
here is the query
mysql_query("INSERT into csrmonitor
(who, login, phone, memnum, date, callnum, emp, custname, callrem, nadp, phys, cross, loc,
county, callb, carinf, reg, prob, cov, allinf, recap, expec, seconetot, tow, aarneed,
referaar, garage, dest, estimate, passnum, drive, onetime, sectwotot, bonus, comments, total, poss)
VALUES
('$who', '$login', '$phone', '$memnum', '$date', '$callnum', '$emp', '$custname', '$callrem', '$nadp', '$phys',
'$cross', '$loc', '$county', '$callb', '$carinf', '$reg, '$prob', '$cov', '$allinf', '$recap', '$expec',
'$secOneTotal', '$tow', '$aarneed',
'$referaar', '$garage', '$dest', '$estimate', '$passnum', '$drive',
'$onetime', '$secTwoTotal', '$bonus', '$comments', '$grandTotal', '$totalposs')") or die(mysql_error());
Here is the create for the db
CREATE TABLE csrmonitor (
ID int(11) NOT NULL auto_increment,
who int(11) NOT NULL default '0',
login varchar(100) NOT NULL default '',
phone varchar(100) NOT NULL default '',
memnum varchar(100) NOT NULL default '',
date datetime NOT NULL default '0000-00-00 00:00:00',
callnum int(11) NOT NULL default '0',
emp int(11) NOT NULL default '0',
custname int(11) NOT NULL default '0',
callrem int(11) NOT NULL default '0',
nadp int(11) NOT NULL default '0',
phys int(11) NOT NULL default '0',
cross int(11) NOT NULL default '0',
loc int(11) NOT NULL default '0',
county int(11) NOT NULL default '0',
callb int(11) NOT NULL default '0',
carinf int(11) NOT NULL default '0',
reg int(11) NOT NULL default '0',
prob int(11) NOT NULL default '0',
cov int(11) NOT NULL default '0',
allinf int(11) NOT NULL default '0',
recap int(11) NOT NULL default '0',
expec int(11) NOT NULL default '0',
seconetot int(11) NOT NULL default '0',
tow int(11) NOT NULL default '0',
aarneed int(11) NOT NULL default '0',
referaar int(11) NOT NULL default '0',
garage int(11) NOT NULL default '0',
dest int(11) NOT NULL default '0',
estimate int(11) NOT NULL default '0',
passnum int(11) NOT NULL default '0',
drive int(11) NOT NULL default '0',
onetime int(11) NOT NULL default '0',
repairneed int(11) NOT NULL default '0',
repair int(11) NOT NULL default '0',
sectwotot int(11) NOT NULL default '0',
bonus int(11) NOT NULL default '0',
comments mediumtext NOT NULL,
total int(11) NOT NULL default '0',
poss int(11) NOT NULL default '0',
PRIMARY KEY (ID)
) TYPE=MyISAM;
Now I can not figure out where the freakin problem is
If the form code will help please let me know and I will post that as well.