Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #11764
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Arno Welzel <usenet@arnowelzel.de> |
| Newsgroups | comp.lang.php |
| Subject | Re: values won't transfer |
| Date | Fri, 08 Nov 2013 08:33:07 +0100 |
| Lines | 42 |
| Message-ID | <527C93B3.4000109@arnowelzel.de> (permalink) |
| References | <e2vbaluuftp4$.48nrw7i8j930.dlg@40tude.net> <527BFF96.2070809@arnowelzel.de> <36y6sabys9lg$.1bhflgz2ufy0$.dlg@40tude.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net cW3j5aN+V6xC4arnB2zCsQhD9kn6Z2YWBqO8+hUhrEyziJgGt0 |
| Cancel-Lock | sha1:fu1JiI+ubkRM/QBswKJrp0+Hsfo= |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
| In-Reply-To | <36y6sabys9lg$.1bhflgz2ufy0$.dlg@40tude.net> |
| X-Enigmail-Version | 1.6 |
| Xref | csiph.com comp.lang.php:11764 |
Show key headers only | View raw
richard, 2013-11-07 22:29:
> On Thu, 07 Nov 2013 22:01:10 +0100, Arno Welzel wrote:
>
[Building a list of links with a frame as target]
>> And finally: Either you have to make sure, that $playme[$play][3] does
>> not contain any "HTML stuff" or use htmlspecialchars() to encode/escape
>> special characters so they will be displayed properly.
>>
>> Here a proposal how it should work (not checked - there may be typos):
>>
>> <?php
>> foreach($numbers as $play) {
>> echo '<li>';
>> echo '<a';
>> echo ' class="aplay"';
>> echo ' href="http://mroldies.net/index.php?tune='.$play.'"';
>> echo ' target="show"';
>> echo ' data-src="http://mroldies.net/200/'.$playme[$play][4];
>> echo '">';
>> echo htmlspecialchars($playme[$play][3]);
>> echo '</a>';
>> echo '</li>';
>> }
>> ?>
>>
>> F'Up to comp.lang.php since this has nothing to do with JavaScript at all.
>
> If you'd bother to note I cross posted this for that reason.
What reason? Please explain. Your code did not contain any JavaScript.
> Thanks.
> But it still won't transfer.
Please define "transfer". What is missing?
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread
values won't transfer richard <noreply@example.com> - 2013-11-07 13:06 -0500
Re: values won't transfer Tim Streater <timstreater@greenbee.net> - 2013-11-07 18:56 +0000
Re: values won't transfer Ben Bacarisse <ben.usenet@bsb.me.uk> - 2013-11-07 19:58 +0000
Re: values won't transfer richard <noreply@example.com> - 2013-11-07 15:37 -0500
Re: values won't transfer Arno Welzel <usenet@arnowelzel.de> - 2013-11-07 22:01 +0100
Re: values won't transfer richard <noreply@example.com> - 2013-11-07 16:29 -0500
Re: values won't transfer Arno Welzel <usenet@arnowelzel.de> - 2013-11-08 08:33 +0100
csiph-web