I've attempted to "Create a Simple HTML Form to get User Comments"

Avatar
  • Answered
First of all, I had to add an " @ " in front of $con = @mysql_connect("localhost".... in my manage_comments.php page. Otherwise I was getting an error.
I have followed your instructions to the T and on the very last step, after having published the file to the server, the page gives me this
"Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home4/jobediah/public_html/display_comments.php on line 30"

Any suggestions/assistance is greatly appreciated.
Best regards
Chris
Avatar
IMH Support Agent 5
Hello, Thank you for contacting us about setting up an HTML form. I was able to find some PHP documentation about this function. It is possible that there is a conflict somewhere else in the code or the result is due to this extension being removed in the recent version of PHP. If the latter, then we will evaluate the code in the article and update it. Otherwise, I advise checking the code again, checking your PHP version, and enabling PHP error reporting to get more information. Best, Christopher M.