Simon Allison wrote:
Hey,


....




Obviously this has something to do with the quotation marks in the a href
statement, however I am new to php and my attempts using addslashes and
stripslashes have failed. I would be most grateful if anyone could help me.



addslashes() and stripslashes() won't help completely (although you may still need to escape quotes - depending on the way you call the following funcs...)

- take a look at htmlentities() and htmlspecialchars(), basically you need to 
encode
you 'msg' so that any HTML contained in the message is not rendered by the 
browser.



Cheers,

Simon





-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to