You can use the strip_tags function to remove HTML tags from the user
inputted data
e.g. $name = strip_tags($name)
-Stewart
-----Original Message-----
From: Brian Rosenkrantz [mailto:[EMAIL PROTECTED]]
Sent: 22 March 2001 15:50
To: [EMAIL PROTECTED]
Subject: [PHP] Unwanted signs!
I'm new to php (and from Denmark:-) and I've just made my first guestbook,
but I don't want people to be able to write there name like this
<h1>name</h1>
How can I delete these signs?
Please help!!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]