PHP code returns empty rows

Avatar
  • Answered
I used this code for inserting data to mysql xampp . but only creates a row with no data.. what should i do>> Code down Below
Avatar
johnpaulb-imhs1
Hello ayush, Thank you for contacting us today about using PHP to insert data into MySQL. As a troubleshooting technique, test each variable to see what value they have. Such as described in this guide I found online on how to insert a variable in an echo string. This will allow you to see the value of each variable (or see if there is no value), and help narrow down the coding problem. Let us know if you have any further questions. Thank you, John-Paul