0

I am trying to get form data input from the user and store it into my database. But while getting the data from the form into php using POST method, I got an unexpected error

Here I am attaching the php file code image index.php

I literally copy this example from youtube tutorial and tried running it and I get this error message: screenshot of error

Check my code if there is some mistake in it.

I am trying to get data from html form using POST method in PHP so that my sql query will execute properly but run into this error.

Roopam
  • 9
  • 3

0 Answers0