Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #11502
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Date | Sun, 20 Oct 2013 21:50:07 +0200 |
| From | Luuk <luuk@invalid.lan> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.php |
| Subject | Re: how to change character to % character? |
| References | <z6vdxp5lrmnm.inx0tv64wlmj.dlg@40tude.net> <52642C52.9010400@arnowelzel.de> |
| In-Reply-To | <52642C52.9010400@arnowelzel.de> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <eoodja-dg5.ln1@luuk.invalid.lan> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:980:9089:1:e8e2:d217:7ba6:9128 |
| X-Trace | 1382298612 news.xs4all.nl 15948 [2001:980:9089:1:e8e2:d217:7ba6:9128]:44102 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.php:11502 |
Show key headers only | View raw
On 20-10-2013 21:17, Arno Welzel wrote: > richard, 2013-10-20 18:27: > >> 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? >> >> I had a look at preg-match and don't think that will help. > > See <http://php.net/manual/en/function.htmlspecialchars.php>. > > or one of these: http://php.net/manual/en/pdo.prepared-statements.php http://php.net/manual/en/mysqli.quickstart.prepared-statements.php
Back to comp.lang.php | Previous | Next — Previous 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