Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3071
| From | "Twayne" <nobody@devnull.spamcop.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: ampersand help |
| Date | 2011-09-04 10:53 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <j403e6$lnd$1@dont-email.me> (permalink) |
| References | <7a650168-4b19-4033-b73d-3e96d33ce531@h6g2000yqe.googlegroups.com> |
In news:7a650168-4b19-4033-b73d-3e96d33ce531@h6g2000yqe.googlegroups.com,
bob <bob@coolgroups.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`
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ampersand help bob <bob@coolgroups.com> - 2011-09-02 18:00 -0700 Re: ampersand help Jerry Stuckle <jstucklex@attglobal.net> - 2011-09-02 22:59 -0400 Re: ampersand help "Twayne" <nobody@devnull.spamcop.net> - 2011-09-04 10:53 -0400 Re: ampersand help "A" <a@a.a> - 2011-09-04 22:55 +0200
csiph-web