ok so the code inserts into the database a default status when the user sign ups. But I get an error saying: 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 ''status' ) Values(`asd.asd`, `new to the site!` )' at line 2
But if i dont use the apostrophe's instead i use ` on status i get this error: Unknown column 'status' in 'field list'.
here is the code:
mysql_query("INSERT INTO user_notifications
(`username`, `status` ) Values(`$username`, `new to the site!` )")
or die(mysql_error());
Whats wrong!? Any help will be much appreciated! Thanks.