I'm using PHP to insert data into MySQL and I'm running into bit of a problem. My script executes just fine, but when it comes to my query ... the query doesn't insert information into my database:
Here's my site: http://tearsfall.pcriot.com
here's my database table (within my forums database):
users(userID,firstName,middleIn,lastName,userAddress,userState ,userCountry,userbirthDate,username,password,valid code,email,usergroup)
my userID column is set on auto_increment and it's the primary key.
and here's my PHP script:
mysql_query("INSERT INTO users VALUES('NULL,$firstName','$middleIn','$lastName',' $userAddress','$userState','$userCountry','$userna me','$password','$validate_key','$email',1");


LinkBack URL
About LinkBacks

