This content has been marked as final.
Show 3 replies
-
1. Re: Insert Code Error
Rob Hecker2 Oct 9, 2014 8:11 AM (in response to Max Resnikoff)You defined your INSERT query but are not actually sending it to the database. You need something like:
mysqli_query($sql);I use PDO, not MySQLi, so I may not have gotten the script quite right, but you get the idea.
-
2. Re: Insert Code Error
Max Resnikoff Oct 9, 2014 10:42 AM (in response to Rob Hecker2)I tried that, but no luck
-
3. Re: Insert Code Error
Rob Hecker2 Oct 9, 2014 10:54 AM (in response to Max Resnikoff)I can't tell from the provided code if you are using mysqli objects or not. Your connection string isn't provided.So I can't necessarily provide you with the exact code you need. But I have pointed you in the right direction, which is that you are not actually sending the data to the database. I think you can take it from there.


