Help With PHP Comment System?

Juan

New member
I am trying to make a comment system by myself but as you might guess I am having problems. First, I have three fields the user can enter info into [name, email and comment] and one they cannot see [id]. The problem: I go to phpMyAdmin and check to see if anything was actually added. The name, email and if fields are doing fine, but the comment field is showing itself blank. The field is set to varchar(150) and not null, as well as no auto increment. I don't know why it's not letting me; in the HTML form I did have under 150 characters and set the form size to only 150 characters, and the varchar is set to only 150 too. Is it because I'm using varchar while I should be using char instead?

Also, I'll post part of the code if need be. ~Juan
 
Back
Top