Thanks for your help so far. I filled in a couple of fields but still left some blank. I filled in the email field this time as well.
Yes, $dblink is set in the "include('dbconnect.php')" statement at the top of the original post. That IS the db connect code.
In my form I have a box to enter email into, ie NAME="email", field in table called email and $email set at top of the script.
0
SQL ERROR: The failed query was:
insert into players (nick,pwdb,joindate,fname,bday,bdaydd,ovr13,email,country,state,otherNicks,newZone,zoneStatus,plusNick,referredby,reason,coc,status,rank)
VALUES ('Joan75','','','Joan','','Yes','tom@hotmail.com','none selected','','','NO','NO','n/a','','something','Yes','New','Token')
1136: Column count doesn't match value count at row 1
Ok, I'm lost now but I think one of the issues may be with my "joindate". In the form I have the joindate as a hidden field with NAME = "joindate". I defined $date at the top of the insert script but I don't think it will give me what I want. I want the current date and can't seem to get CURDATE to work. I want it in the m,d,Y format as well, in the database.
Right now, that is all I can think of. Some of the other fields are empty because I didn't fill those in, still it didn't give me an error on them yet, lol. I guess I got to get the initial code working right first huh? lol
Thanks again,
Barb