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

Home » Imported messages » comp.lang.php » How to transfer value to iframe?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to transfer value to iframe? [message #183123] Thu, 10 October 2013 02:32 Go to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
http://mroldies.net/200/audiox.php

First, the sound will work only in firefox.
So don't go bashing me for that.

I have it set up so that a shuffled array will be displayed any time the
page is loaded. Hopefully.
What I want to do is to ensure that item one in the menu list will match
what is in the iframe.

$_get[] relies on the values being transferred via a link.
At this point, no link has been clicked on to set the value.
So how do I properly set the intitial value?


<div id="menu1">


<?php

$numbers=range(1,60);
shuffle($numbers);

foreach ($numbers as $play) {

echo "<div class='item'>";


$year=$playme[$play][0];
$rank=$playme[$play][1];
$asong=$playme[$play][2];
$art=$playme[$play][3];

echo $asong;
echo "<br>";
echo $art;
echo "<br>";
echo $year;
echo " # ";
echo $rank;

echo "</div>";

$songid=$numbers[0]; << this reults in"1" always being piinted.

};

?>



</div>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: please unsubscribe me
Next Topic: Can't change upload_max_filesize
Goto Forum:
  

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

Current Time: Sun Nov 24 06:32:10 GMT 2024

Total time taken to generate the page: 0.05329 seconds