|
Posted by Jochem Maas on 03/16/05 12:24
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
>
>
>
>
Navigation:
[Reply to this message]
|