RE: [PHP-DB] string problem
| From: | Rick Emery | Date: | Fri, 14 Sep 2001 14:59:03 +0000 |
| Subject: | RE: [PHP-DB] string problem | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12459@lists.php.net to get a copy of this message | ||
Don't know why you're getting problem. However, you can use stripslashes()
to avoid the problem.
-----Original Message-----
From: Bruno Franx [mailto:bruno.franceschini@tin.it]
Sent: Friday, September 14, 2001 10:04 AM
To: php-db@lists.php.net
Subject: [PHP-DB] string problem
scenario: Win.nt 4.0 pach6a Workstation, IE 5.5, Apache/1.3.20, php 4.0.6
wath goes wrong: when I set a string variable containing by example : "
hello "jack" "
on my html page php convert it to " hello \"jack\" " and I get no
errors
on another machine with same configuration I get
" hello "jack" " without quoting
any Ideas?
TIA
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net