JhayCee
JhayCee

Reputation: 19

php, mysql insert but no appear on mysql

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

enter image description here

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

enter image description here

Upvotes: 1

Views: 48

Answers (1)

Arihant
Arihant

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

Related Questions