Reputation: 19
I try to insert some details on my database in phpmyAdmin/mySql using a php, but it doesn't appear/update on the phpmyAdmin/mySql. Also confusing there's no error appears. Below is my code on php: php code
There's no problem on connection on mySql because I check it and I can read data from mySQL to php. but the problem I can insert data on mySQL using php. Please help me. Thank you
Upvotes: 1
Views: 48
Reputation: 11
The insert Query written has an extra comma just before you close the brackets. Please remove that. It should work fine.
Upvotes: 1