Hi,
I have another problem:
how can I put some text into a variable that contains alot of " and ' that should not be escaped by a . I know in PERL you can write something like:
$text = |
""''ladsjflaksjdfh""''
|;
is there something similar in PHP?
________________________________
[red]
http://www.againsttcpa.com[/red][blue]Don't give big brother a chance![/blue]
Comments
http://www.php.net
stripslashes
addslashes
you could use those functions perhaps
: Hi,
: I have another problem:
: how can I put some text into a variable that contains alot of " and ' that should not be escaped by a . I know in PERL you can write something like:
: $text = |
: ""''ladsjflaksjdfh""''
: |;
:
: is there something similar in PHP?
: ________________________________
: [red]http://www.againsttcpa.com[/red]
: [blue]Don't give big brother a chance![/blue]
:
[size=5][italic][blue]Dar[RED]Q[/RED][/blue][/italic][/size]
url--> http://space.servehttp.com (ssh,ftp,http etc etc)
$sData = <<<data
You can put anything in here ' " ' " *&%$"
data;
That should do it!
Dave
________________________________
[red]http://www.againsttcpa.com[/red]
[blue]Don't give big brother a chance![/blue]