Going to need some help here because my head feels like it's going to blow up.
Working on a script that does a simple mysql_connect and then a three column insert statement using mysql_query($query);
I run the script and nothing gets updated to the database and no errors output to the browser. I am connecting just fine from what I can tell because when I change the user, password or database in the mysql_connect, I am actually getting the connection error message.
The script seems to be running just fine, indicated by no errors output but here's the weird part: when I echo out the $query variable, the input statement shows clearly in the browser, syntactically perfect. I can even copy and paste it into PHPmyAdmin and run it, resulting in an error free insert of the row.
I've spent the last 2 hours messing with it trying to debug whatever is keeping the table from updating as a result of the INSERT statement and I really feel like I'm going insane.
Any ideas?
Working on a script that does a simple mysql_connect and then a three column insert statement using mysql_query($query);
I run the script and nothing gets updated to the database and no errors output to the browser. I am connecting just fine from what I can tell because when I change the user, password or database in the mysql_connect, I am actually getting the connection error message.
The script seems to be running just fine, indicated by no errors output but here's the weird part: when I echo out the $query variable, the input statement shows clearly in the browser, syntactically perfect. I can even copy and paste it into PHPmyAdmin and run it, resulting in an error free insert of the row.
I've spent the last 2 hours messing with it trying to debug whatever is keeping the table from updating as a result of the INSERT statement and I really feel like I'm going insane.
Any ideas?