Hi there, I want to transfer a message back to the form if an error occures.
Therefore I am encoding the message and afterwards decoding. Works fo far
with one exeption. The single quote is slashed 3 times.

Example:
$message =  That's great!

Code:
example.php?message=".urlencode($message)."
<textarea name="message" rows="10" cols="53"
wrap="virtual">'.urldecode($message).'</textarea>

Result:
That\\\'s great!

So whats wrong? I can't see the mistake.

Thanx for any help

Andy



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

Reply via email to