Hi, i'm in the process of creating a guestbook... So far i've got it to submit to a mysql database from a form and to retrieve the data from the database and display it on a page.
Now, I was wondering how i make it so that when a user submits html or javascript in the form that it just displays like text in the page, so that it doesn't work. Cause currently someone could submit javascript and what not in the form and that would not be good....
I'm guessing that i need to do something similar to trim or something....
thanks๐