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

Home » Imported messages » comp.lang.php » ampersand help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: ampersand help [message #175319 is a reply to message #175311] Sun, 04 September 2011 14:53 Go to previous messageGo to previous message
Twayne is currently offline  Twayne
Messages: 135
Registered: September 2010
Karma:
Senior Member
In news:7a650168-4b19-4033-b73d-3e96d33ce531(at)h6g2000yqe(dot)googlegroups(dot)com,
bob <bob(at)coolgroups(dot)com> typed:
> Can someone tell me why this line of code doesn't work
> for replacing an ampersand?
>
> $newstring = str_replace("&", "and", $newstring);

Yes, but you'd do better to go get "The PHP Manual" on PHP and learn that
and a lot more for yourself.

HTH,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Newbie: very basic jquery drag drop
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

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

Current Time: Sat Nov 23 02:13:51 GMT 2024

Total time taken to generate the page: 0.04149 seconds