user1899201
user1899201

Reputation: 123

SQL insert into statement not working

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

Answers (1)

ka_lin
ka_lin

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

Related Questions