Hey all. I noticed a string containing slashes was breaking some code
of mine on an w2k/IIS box running php 4.2.3.
For example ->
<a href=\"http://www.apache.org/\" target=\"_blank\">
When trying to apply stripslashes, the slashes remained. So I applied
str_replace('\"', '', $var) and that worked.
Any idea as to why stripslashes would not remove the slashes in the string?
Thanks for any input.
--
Gerard Samuel
http://www.trini0.org:81/
http://dev.trini0.org:81/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- Re: [PHP] stripslashes and quoted material Gerard Samuel
- Re: [PHP] stripslashes and quoted material Chris Wesley
- Re: [PHP] stripslashes and quoted material Gerard Samuel