FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » values won't transfer
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: values won't transfer [message #183672 is a reply to message #183670] Fri, 08 November 2013 07:33 Go to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma:
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Trying to create a .bat file for windows using fwrite(
Next Topic: $dom->loadHTMLFile() error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 22:22:25 GMT 2024

Total time taken to generate the page: 0.04661 seconds