Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #11764
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: values won't transfer |
| Date | 2013-11-08 08:33 +0100 |
| Message-ID | <527C93B3.4000109@arnowelzel.de> (permalink) |
| References | <e2vbaluuftp4$.48nrw7i8j930.dlg@40tude.net> <527BFF96.2070809@arnowelzel.de> <36y6sabys9lg$.1bhflgz2ufy0$.dlg@40tude.net> |
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