Check out :

    http://www.php.net/manual/en/function.strip-tags.php

So :

    $input = '<h1>name</h1>';
    $input = strip_tags($input);

    echo $input; // name

Regards,

Philip Olson
http://www.cornado.com/

On Thu, 22 Mar 2001, Brian Rosenkrantz wrote:

> 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]

Reply via email to