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 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> References: <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 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): >> >> > foreach($numbers as $play) { >> echo '
  • '; >> echo '> 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 ''; >> echo '
  • '; >> } >> ?> >> >> 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