On Tuesday 20 August 2002 20:13, Maris Kalnins wrote:
> Hi guys!
>
> Situation:
>
> $intext = "blablabla ' blablabla";
> then this $intext is passed to out.php (as parameter out.php?intext=...)
>
> the problem is that from out.php I need to echo this $intext but I get:
>
> blablabla \' blablabla
>
> the question is.. how to fight this backslash out of there?

If you want to disable this behaviour:

  php.ini -> magic_quotes_gpc

Otherwise use stripslashes()

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
The idle mind knows not what it is it wants.
                -- Quintus Ennius
*/


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

Reply via email to