Reputation: 123
I can't seem to get the insert statement to work, I'm a newbie to sql.
I've used the same code before and it worked so i copied and pasted and
changed the values. Everything else validates and works fine.
The problem is with the uploadInstallData function
Heres a link to the code in text format:
http://www.bludevelopment.com/php/getdata.txt
Upvotes: 0
Views: 341
Reputation: 9432
First off try using PDO, secondly it is incorrect the following:
"('$_POST[Timestamp]','$_POST[PMINo]',..."
, you should escape the values :
" ('".$_POST[Timestamp]."','".$_POST[PMINo]."
',...";
Upvotes: 1