FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » str_replace does not like empty quotes
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: str_replace does not like empty quotes [message #186203 is a reply to message #186189] Fri, 20 June 2014 06:10 Go to previous messageGo to previous message
Geoff Muldoon is currently offline  Geoff Muldoon
Messages: 19
Registered: July 2011
Karma:
Junior Member
In article <1kcemjreijezv$(dot)k2q3x4bl6eoc(dot)dlg(at)40tude(dot)net>,
noreply(at)example(dot)com says...

> $a=str_replace($a,"\","");

Richard:

a) You need to learn to read the documentation syntax order properly, $a
goes at the end, not the start.

b) Just because you find a hammer, everything doesn't become a nail.
Please try and use the RIGHT tool for the job. Do not mindlessly expect
silver bullets to appear, especially while looking down a barrel. Do
some proper research for yourself first.

c) Google PHP stripslashes.

Geoff M
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PDO fetch with SQL server
Next Topic: Putting it all together
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 06:09:20 GMT 2024

Total time taken to generate the page: 0.04273 seconds