I have php code that is inserting values from a form into my database. It is successfully creating the record in the database, but it is not taking the values for three of the 4 fields.
$sql=“INSERT INTO $tbl_name(name, email, comment, datetime)VALUES(’$name’, ‘$email’, ‘$comment’, ‘$datetime’)”;