i'm making a shoutbox... does anyone know how to stop HTML code operaring. i thought of removing "<" and ">" but don't know how. any ideas?
Several functions exist including the word "strip." Check the manual for them, I think maybe "strip_tags"?
it is strip_tags... how might i use it to remove < and > though? [preferably whilst the data is entered]
whilst the data is entered?
PHP is "server-side", as you probably know. You can't. Javascript is "client-side", you might be able to do it then....
i meant as the form was submitted... nevermind i found what i wanted here: http://www.phpbuilder.com/board/showthread.php?s=&threadid=10227092
Ah, yes, strip_tags. I seem to recall hearing something about it up the page. Since you found what you were looking for, how 'bout deleting this thread?