Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #11486
| From | Lew Pitcher <lew.pitcher@digitalfreehold.ca> |
|---|---|
| Subject | Re: how to change character to % character? |
| Newsgroups | comp.lang.php |
| References | <z6vdxp5lrmnm.inx0tv64wlmj.dlg@40tude.net> |
| Organization | The Pitcher Digital Freehold |
| Message-ID | <cIT8u.91627$i75.12796@fx03.iad> (permalink) |
| Date | 2013-10-20 12:40 -0400 |
On Sunday 20 October 2013 12:27, in comp.lang.php, "richard" <noreply@example.com> wrote: > I noticed that whenever a song is clicked on that has an apostrophe in the > name, an error is now being generated. > The song still plays and the name is reported correctly. > > So how can I detect any and all 's within a string and convert them to the > %27 version? Use the rawurlencode() function http://www.php.net/manual/en/function.rawurlencode.php [snip] -- Lew Pitcher "In Skills, We Trust" PGP public key available upon request
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to change character to % character? richard <noreply@example.com> - 2013-10-20 12:27 -0400
Re: how to change character to % character? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2013-10-20 12:40 -0400
Re: how to change character to % character? richard <noreply@example.com> - 2013-10-20 13:06 -0400
Re: how to change character to % character? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-10-20 09:45 -0700
Re: how to change character to % character? richard <noreply@example.com> - 2013-10-20 13:04 -0400
Re: how to change character to % character? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-10-20 10:22 -0700
Re: how to change character to % character? Jerry Stuckle <jstucklex@attglobal.net> - 2013-10-20 21:01 -0400
Re: how to change character to % character? richard <noreply@example.com> - 2013-10-20 21:57 -0400
Re: how to change character to % character? Jerry Stuckle <jstucklex@attglobal.net> - 2013-10-20 22:09 -0400
Re: how to change character to % character? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-10-20 23:18 -0700
Re: how to change character to % character? Scott Johnson <noonehome@chalupasworld.com> - 2013-10-21 05:39 -0700
Re: how to change character to % character? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-10-21 06:31 -0700
Re: how to change character to % character? Luuk <luuk@invalid.lan> - 2013-10-20 20:04 +0200
Re: how to change character to % character? richard <noreply@example.com> - 2013-10-20 14:50 -0400
Re: how to change character to % character? Jerry Stuckle <jstucklex@attglobal.net> - 2013-10-20 21:02 -0400
Re: how to change character to % character? Arno Welzel <usenet@arnowelzel.de> - 2013-10-21 11:55 +0200
Re: how to change character to % character? Jerry Stuckle <jstucklex@attglobal.net> - 2013-10-21 08:04 -0400
solved! richard <noreply@example.com> - 2013-10-20 15:11 -0400
Re: how to change character to % character? Arno Welzel <usenet@arnowelzel.de> - 2013-10-20 21:17 +0200
Re: how to change character to % character? Luuk <luuk@invalid.lan> - 2013-10-20 21:50 +0200
csiph-web