I'm sure you could find examples but how you want to implement the comments will determine what you need to do. Displaying a text box and a submit button is really simple, but doing something with that text is what you would have to decide. Do you want to just jam it all in a txt file on the server, commit them to a database, email them to someone, etc?
I'd like to collect the person's name and comment and then display both on the website. I'm not looking for anything advnced such as smilies, swear block out, spelling correction, or so on.
legocitytruck, I do not know php, I would suggest finding some tutorials. google will definetly turn up results if you look for "php input sanitation".
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.