I have a mysql database named joostinvites and in it I have a table named users. This table has the fields email addresses, firstname, last name and an integer set to 0 or 1 to " check off" if they have been invited.
I am trying to do this all from scratch and I made up a simple way to do it using PHP and mysql querys.
Here is my code that doesn't work:
it doesn't seem to get a parse error, it just doesn't add the information to the table. But it does when I run :
insert into users (email, firstname, lastname, invited) values ("my@email.com", "Joey", "poops", 0);
as an SQL query, someone please help me out here