1

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

Vadivel S
  • 660
  • 8
  • 15
JhayCee
  • 19
  • 5

1 Answers1

1

The insert Query written has an extra comma just before you close the brackets. Please remove that. It should work fine.

Arihant
  • 11
  • 3