php cannot print " without \"
Status: Inactive
Brought to you by:
third_of_five
using test_embedded.php, everything looks fine in the
source editing window but when i post it it generates \
character before " .which breaks all urls. is there a way i
can make it stop print \ before ".
Example: if i insert a link to http://abc.com
after posting it looks like <A href=\"http://abc.com/\"
target=_new>the</A> in the source of the posted page.
Any help on this will be appriciated.
Logged In: NO
You would need to use the strip slashes function of PHP
Logged In: YES
user_id=831486
Try this :
$SubText=stripslashes($HTTP_POST_VARS["text"]);
$SubText is now without \