Mar 5, 2004 #1 michelebulloni Programmer Joined Mar 4, 2004 Messages 13 Location IT Hi, i need a script php for quoting string Samples to pippo from \p\i\p\p\o ;-)
Mar 5, 2004 #2 Forri Programmer Joined Oct 29, 2003 Messages 479 Location MT $VAR1 = "p/i/p/p/o"; $VAR2 = str_replace("/","",$VAR1); echo $VAR2; nicky Upvote 0 Downvote
Mar 5, 2004 #3 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US If the original string contains backslashes: $var = stripslashes($var); Want the best answers? Ask the best questions! TANSTAAFL!! Upvote 0 Downvote
If the original string contains backslashes: $var = stripslashes($var); Want the best answers? Ask the best questions! TANSTAAFL!!
Mar 5, 2004 #4 Forri Programmer Joined Oct 29, 2003 Messages 479 Location MT I think its not just backslashes but in that case i agree with you sleipnir214 !! Upvote 0 Downvote