Well I could, but then I get a problem at the next stage.

To summarise, there are three stages:
- entry form
- confirmation - display details and say 'is this okay?'
- write to database

If you enter O'Brien in the form, it's shown as O\'Brien on the
confirmation. If I leave it that way, when it reaches the third page it
turns up as O\ - and that's all (ie, the backslash on the confirmation page
has itself been escaped - don't know what's happened to the quote or the
rest of the string). If I run it through stripslashes() on the confirmation
page, it turns up as just O on the final page. Damned if I do, damned if I
don't...

"Bobo Wieland" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can't you just use <?php print stripslashes($name); ?> Where the name
should
> be visible, and never really modify the variable, just the output...?
>



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

Reply via email to