What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Can't treat backslashes as text in PHP

Can't treat backslashes as text in PHP
Author: Message:
absorbation
Elite Member
*****

Avatar

Posts: 3636
Reputation: 81
– / Male / Flag
Joined: Feb 2005
O.P. Can't treat backslashes as text in PHP
Simple really, but I am not the best syntax expert and I need the help nice and quick please.
code:
$media = str_replace('\', '', $media);
It is that simple. I can't treat backslashes as text in a string no matter what I try and do. I am trying to get rid of backslashes from a variable and this is the only simple way I can think of. So the syntax fix would help me a lot. Thanks a bunch of bananas :).
07-31-2006 04:47 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Can't treat backslashes as text in PHP - by absorbation on 07-31-2006 at 04:47 PM
RE: Can't treat backslashes as text in PHP - by alexp2_ad on 07-31-2006 at 04:51 PM
RE: Can't treat backslashes as text in PHP - by absorbation on 07-31-2006 at 04:53 PM
RE: Can't treat backslashes as text in PHP - by ayjay on 07-31-2006 at 10:58 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On