Re: resolved?? Re: How to transfer value to iframe? [message #183150 is a reply to message #183138] |
Thu, 10 October 2013 22:13 |
Norman Peelman
Messages: 126 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/10/2013 01:01 PM, richard wrote:
> On Wed, 9 Oct 2013 22:32:22 -0400, richard wrote:
>
>> http://mroldies.net/200/audiox.php
>>
>> First, the sound will work only in firefox.
>> So don't go bashing me for that.
>
>
> <?php
> $number=$numbers[0];
> echo '<iframe id="x1" src="audiox1.php?asong='.$number.'"
> name="alpha"></iframe>';
> ?>
>
> At least the first number is now displayed.
>
echo "<iframe id=x1 src='audiox1.php?asong=$number&name=$alpha'></iframe>";
No need to quote the *values*, they are sent as text. Not sure what
you're doing with -alpha-, I assume it is a variable as well...
--
Norman
Registered Linux user #461062
-Have you been to www.php.net yet?-
|
|
|