Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11333 > unrolled thread

How to transfer value to iframe?

Started byrichard <noreply@example.com>
First post2013-10-09 22:32 -0400
Last post2013-10-11 19:04 -0400
Articles 20 on this page of 30 — 10 participants

Back to article view | Back to comp.lang.php


Contents

  How to transfer value to iframe? richard <noreply@example.com> - 2013-10-09 22:32 -0400
    Re: How to transfer value to iframe? David Robley <me@home.invalid> - 2013-10-10 13:43 +1030
      Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-09 23:31 -0400
        Re: How to transfer value to iframe? David Robley <me@home.invalid> - 2013-10-10 14:20 +1030
          Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-10 00:01 -0400
            Re: How to transfer value to iframe? Jeff North <jnorthau@yahoo.com.au> - 2013-10-10 15:40 +1100
              Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-10 00:51 -0400
                Re: How to transfer value to iframe? "J.O. Aho" <user@example.net> - 2013-10-10 07:10 +0200
              Re: How to transfer value to iframe? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-11 01:15 +0200
        Re: How to transfer value to iframe? Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-10 13:25 +0000
    Re: How to transfer value to iframe? Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-10 13:12 +0000
    resolved?? Re: How to transfer value to iframe? (was: How to transfer value to iframe?) richard <noreply@example.com> - 2013-10-10 13:01 -0400
      Re: resolved?? Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-10 13:28 -0400
        Re: resolved?? Re: How to transfer value to iframe? Derek Turner <frderek@cesmail.net> - 2013-10-10 17:39 +0000
          Re: resolved?? Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-10 15:47 -0400
            Re: resolved?? Re: How to transfer value to iframe? Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-10 21:31 +0000
              Re: resolved?? Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-10 19:45 -0400
                Re: resolved?? Re: How to transfer value to iframe? The Natural Philosopher <tnp@invalid.invalid> - 2013-10-11 01:45 +0100
                Re: resolved?? Re: How to transfer value to iframe? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-10-11 08:17 -0700
                Re: resolved?? Re: How to transfer value to iframe? Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-11 15:27 +0000
                  Re: resolved?? Re: How to transfer value to iframe? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2013-10-11 21:21 -0700
            Re: resolved?? Re: How to transfer value to iframe? David Robley <me@home.invalid> - 2013-10-11 11:43 +1030
      Re: resolved?? Re: How to transfer value to iframe? Norman Peelman <npeelman@cfl.rr.com> - 2013-10-10 18:13 -0400
        Re: resolved?? Re: How to transfer value to iframe? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-11 01:37 +0200
          Re: resolved?? Re: How to transfer value to iframe? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-11 01:51 +0200
        Re: resolved?? Re: How to transfer value to iframe? richard <noreply@example.com> - 2013-10-10 19:43 -0400
          Re: resolved?? Re: How to transfer value to iframe? Norman Peelman <npeelman@cfl.rr.com> - 2013-10-10 22:30 -0400
            Re: resolved?? Re: How to transfer value to iframe? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-10-11 13:05 +0200
            Re: resolved?? Re: How to transfer value to iframe? Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-11 15:39 +0000
              Re: resolved?? Re: How to transfer value to iframe? Norman Peelman <npeelman@cfl.rr.com> - 2013-10-11 19:04 -0400

Page 1 of 2  [1] 2  Next page →


#11333 — How to transfer value to iframe?

Fromrichard <noreply@example.com>
Date2013-10-09 22:32 -0400
SubjectHow to transfer value to iframe?
Message-ID<12cqbhii4rehb.1tf3fbhsnvt9o$.dlg@40tude.net>
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>

[toc] | [next] | [standalone]


#11334

FromDavid Robley <me@home.invalid>
Date2013-10-10 13:43 +1030
Message-ID<l355tu$kb0$1@news.albasani.net>
In reply to#11333
richard wrote:

> 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.

Not so - it uses the query string - 
https://en.wikipedia.org/wiki/Query_string - which may be passed via a 
clickable link, or as part of a URL

> At this point, no link has been clicked on to set the value.
> So how do I properly set the intitial value?

<iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz" name="alpha"></iframe>

Simply pass the value(s) you need to utilise in the iframe
> 
> <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>

-- 
Cheers
David Robley

Useless Invention: Low-calorie PowerBar.

[toc] | [prev] | [next] | [standalone]


#11335

Fromrichard <noreply@example.com>
Date2013-10-09 23:31 -0400
Message-ID<68c95v23ldk4$.azmbhc33v7v4.dlg@40tude.net>
In reply to#11334
On Thu, 10 Oct 2013 13:43:42 +1030, David Robley wrote:

> richard wrote:
> 
>> 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.
> 
> Not so - it uses the query string - 
> https://en.wikipedia.org/wiki/Query_string - which may be passed via a 
> clickable link, or as part of a URL
> 
>> At this point, no link has been clicked on to set the value.
>> So how do I properly set the intitial value?
> 
> <iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz" name="alpha"></iframe>
> 
> Simply pass the value(s) you need to utilise in the iframe

I tried this

<iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>


Assigining songid as $songid=$play[0];

Retrieving value through


$number=$_GET["asong"];

echo $number;

 

Results in "songid" being printed.

[toc] | [prev] | [next] | [standalone]


#11336

FromDavid Robley <me@home.invalid>
Date2013-10-10 14:20 +1030
Message-ID<l3583l$7et$1@news.albasani.net>
In reply to#11335
richard wrote:

> On Thu, 10 Oct 2013 13:43:42 +1030, David Robley wrote:
> 
>> richard wrote:
>> 
>>> 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.
>> 
>> Not so - it uses the query string -
>> https://en.wikipedia.org/wiki/Query_string - which may be passed via a
>> clickable link, or as part of a URL
>> 
>>> At this point, no link has been clicked on to set the value.
>>> So how do I properly set the intitial value?
>> 
>> <iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz"
>> name="alpha"></iframe>
>> 
>> Simply pass the value(s) you need to utilise in the iframe
> 
> I tried this
> 
> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
> 
> 
> Assigining songid as $songid=$play[0];
> 
> Retrieving value through
> 
> 
> $number=$_GET["asong"];
> 
> echo $number;
> 
>  
> 
> Results in "songid" being printed.

Not surprisingly, because that is what you have set as the value for asong 
in the iframe link. If you want to pass a value contained in a variable, you 
should use the variable, not a string. Look closely at what you are doing 
when calling the iframe.

<iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
-- 
Cheers
David Robley

Useless Invention: Inflatable PC -- The Ultimate Laptop!

[toc] | [prev] | [next] | [standalone]


#11337

Fromrichard <noreply@example.com>
Date2013-10-10 00:01 -0400
Message-ID<1072h1gn3qh4z.axclc9ryd5s7$.dlg@40tude.net>
In reply to#11336
On Thu, 10 Oct 2013 14:20:56 +1030, David Robley wrote:

> richard wrote:
> 
>> On Thu, 10 Oct 2013 13:43:42 +1030, David Robley wrote:
>> 
>>> richard wrote:
>>> 
>>>> 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.
>>> 
>>> Not so - it uses the query string -
>>> https://en.wikipedia.org/wiki/Query_string - which may be passed via a
>>> clickable link, or as part of a URL
>>> 
>>>> At this point, no link has been clicked on to set the value.
>>>> So how do I properly set the intitial value?
>>> 
>>> <iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz"
>>> name="alpha"></iframe>
>>> 
>>> Simply pass the value(s) you need to utilise in the iframe
>> 
>> I tried this
>> 
>> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>> 
>> 
>> Assigining songid as $songid=$play[0];
>> 
>> Retrieving value through
>> 
>> 
>> $number=$_GET["asong"];
>> 
>> echo $number;
>> 
>>  
>> 
>> Results in "songid" being printed.
> 
> Not surprisingly, because that is what you have set as the value for asong 
> in the iframe link. If you want to pass a value contained in a variable, you 
> should use the variable, not a string. Look closely at what you are doing 
> when calling the iframe.
> 
> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>

so my question kind of still stands.
how do I make asong=??????  as the given initial value of the shuffled
array?

[toc] | [prev] | [next] | [standalone]


#11338

FromJeff North <jnorthau@yahoo.com.au>
Date2013-10-10 15:40 +1100
Message-ID<jtbc5954ck31cb3hemsusokueprgnbfu1t@4ax.com>
In reply to#11337
On Thu, 10 Oct 2013 00:01:56 -0400, in comp.lang.php richard
<noreply@example.com>
<1072h1gn3qh4z.axclc9ryd5s7$.dlg@40tude.net> wrote:

>| On Thu, 10 Oct 2013 14:20:56 +1030, David Robley wrote:
>| 
>| > richard wrote:
>| > 
>| >> On Thu, 10 Oct 2013 13:43:42 +1030, David Robley wrote:
>| >> 
>| >>> richard wrote:
>| >>> 
>| >>>> 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.
>| >>> 
>| >>> Not so - it uses the query string -
>| >>> https://en.wikipedia.org/wiki/Query_string - which may be passed via a
>| >>> clickable link, or as part of a URL
>| >>> 
>| >>>> At this point, no link has been clicked on to set the value.
>| >>>> So how do I properly set the intitial value?
>| >>> 
>| >>> <iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz"
>| >>> name="alpha"></iframe>
>| >>> 
>| >>> Simply pass the value(s) you need to utilise in the iframe
>| >> 
>| >> I tried this
>| >> 
>| >> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>| >> 
>| >> 
>| >> Assigining songid as $songid=$play[0];
>| >> 
>| >> Retrieving value through
>| >> 
>| >> 
>| >> $number=$_GET["asong"];
>| >> 
>| >> echo $number;
>| >> 
>| >>  
>| >> 
>| >> Results in "songid" being printed.
>| > 
>| > Not surprisingly, because that is what you have set as the value for asong 
>| > in the iframe link. If you want to pass a value contained in a variable, you 
>| > should use the variable, not a string. Look closely at what you are doing 
>| > when calling the iframe.
>| > 
>| > <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>| 
>| so my question kind of still stands.
>| how do I make asong=??????  as the given initial value of the shuffled
>| array?

Shhheeeeesssshhh.
<iframe id="x1" src="audiox1.php?asong="+songid name="alpha"></iframe>

[toc] | [prev] | [next] | [standalone]


#11339

Fromrichard <noreply@example.com>
Date2013-10-10 00:51 -0400
Message-ID<3key9ksh6plj.mz1o0un2ccrs.dlg@40tude.net>
In reply to#11338
On Thu, 10 Oct 2013 15:40:55 +1100, Jeff North wrote:

> On Thu, 10 Oct 2013 00:01:56 -0400, in comp.lang.php richard
> <noreply@example.com>
> <1072h1gn3qh4z.axclc9ryd5s7$.dlg@40tude.net> wrote:
> 
>>| On Thu, 10 Oct 2013 14:20:56 +1030, David Robley wrote:
>>| 
>>| > richard wrote:
>>| > 
>>| >> On Thu, 10 Oct 2013 13:43:42 +1030, David Robley wrote:
>>| >> 
>>| >>> richard wrote:
>>| >>> 
>>| >>>> 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.
>>| >>> 
>>| >>> Not so - it uses the query string -
>>| >>> https://en.wikipedia.org/wiki/Query_string - which may be passed via a
>>| >>> clickable link, or as part of a URL
>>| >>> 
>>| >>>> At this point, no link has been clicked on to set the value.
>>| >>>> So how do I properly set the intitial value?
>>| >>> 
>>| >>> <iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz"
>>| >>> name="alpha"></iframe>
>>| >>> 
>>| >>> Simply pass the value(s) you need to utilise in the iframe
>>| >> 
>>| >> I tried this
>>| >> 
>>| >> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>>| >> 
>>| >> 
>>| >> Assigining songid as $songid=$play[0];
>>| >> 
>>| >> Retrieving value through
>>| >> 
>>| >> 
>>| >> $number=$_GET["asong"];
>>| >> 
>>| >> echo $number;
>>| >> 
>>| >>  
>>| >> 
>>| >> Results in "songid" being printed.
>>| > 
>>| > Not surprisingly, because that is what you have set as the value for asong 
>>| > in the iframe link. If you want to pass a value contained in a variable, you 
>>| > should use the variable, not a string. Look closely at what you are doing 
>>| > when calling the iframe.
>>| > 
>>| > <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>>| 
>>| so my question kind of still stands.
>>| how do I make asong=??????  as the given initial value of the shuffled
>>| array?
> 
> Shhheeeeesssshhh.
> <iframe id="x1" src="audiox1.php?asong="+songid name="alpha"></iframe>

Wonder why I get absolutely nothing as a reeult?
Guess it's because nothing got assingned eh?

[toc] | [prev] | [next] | [standalone]


#11340

From"J.O. Aho" <user@example.net>
Date2013-10-10 07:10 +0200
Message-ID<bbmr5nF2mlpU1@mid.individual.net>
In reply to#11339
On 10/10/13 06:51, richard wrote:
> On Thu, 10 Oct 2013 15:40:55 +1100, Jeff North wrote:
>
>> On Thu, 10 Oct 2013 00:01:56 -0400, in comp.lang.php richard
>> <noreply@example.com>
>> <1072h1gn3qh4z.axclc9ryd5s7$.dlg@40tude.net> wrote:
>>
>>> | On Thu, 10 Oct 2013 14:20:56 +1030, David Robley wrote:
>>> |
>>> | > richard wrote:
>>> | >
>>> | >> On Thu, 10 Oct 2013 13:43:42 +1030, David Robley wrote:
>>> | >>
>>> | >>> richard wrote:
>>> | >>>
>>> | >>>> 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.
>>> | >>>
>>> | >>> Not so - it uses the query string -
>>> | >>> https://en.wikipedia.org/wiki/Query_string - which may be passed via a
>>> | >>> clickable link, or as part of a URL
>>> | >>>
>>> | >>>> At this point, no link has been clicked on to set the value.
>>> | >>>> So how do I properly set the intitial value?
>>> | >>>
>>> | >>> <iframe id="x1" src="audiox1.php?a=foo&b=bar&c=baz"
>>> | >>> name="alpha"></iframe>
>>> | >>>
>>> | >>> Simply pass the value(s) you need to utilise in the iframe
>>> | >>
>>> | >> I tried this
>>> | >>
>>> | >> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>>> | >>
>>> | >>
>>> | >> Assigining songid as $songid=$play[0];
>>> | >>
>>> | >> Retrieving value through
>>> | >>
>>> | >>
>>> | >> $number=$_GET["asong"];
>>> | >>
>>> | >> echo $number;
>>> | >>
>>> | >>
>>> | >>
>>> | >> Results in "songid" being printed.
>>> | >
>>> | > Not surprisingly, because that is what you have set as the value for asong
>>> | > in the iframe link. If you want to pass a value contained in a variable, you
>>> | > should use the variable, not a string. Look closely at what you are doing
>>> | > when calling the iframe.
>>> | >
>>> | > <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>
>>> |
>>> | so my question kind of still stands.
>>> | how do I make asong=??????  as the given initial value of the shuffled
>>> | array?
>>
>> Shhheeeeesssshhh.
>> <iframe id="x1" src="audiox1.php?asong="+songid name="alpha"></iframe>
>
> Wonder why I get absolutely nothing as a reeult?
> Guess it's because nothing got assingned eh?
>

If you copied the example as it was, you never get a value passed to the 
frame, if you did make it as you should for appending a php value, then 
the problem is that you haven't assigned a value.

Maybe something like http://www.w3schools.com/php could help you on the 
way with the simple things.

-- 

  //Aho

[toc] | [prev] | [next] | [standalone]


#11355

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2013-10-11 01:15 +0200
Message-ID<13685194.gOobxVgdJI@PointedEars.de>
In reply to#11338
Jeff North wrote:

> On Thu, 10 Oct 2013 00:01:56 -0400, in comp.lang.php richard
>>| so my question kind of still stands.
>>| how do I make asong=??????  as the given initial value of the shuffled
>>| array?
> 
> Shhheeeeesssshhh.
> <iframe id="x1" src="audiox1.php?asong="+songid name="alpha"></iframe>

Sorry, HTML6, which introduces variables, is not widely supported yet.


PointedEars
-- 
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
  -- Richard Cornford, comp.lang.javascript, 2011-11-14

[toc] | [prev] | [next] | [standalone]


#11343

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-10-10 13:25 +0000
Message-ID<l369sp$lqf$2@dont-email.me>
In reply to#11335
On Wed, 09 Oct 2013 23:31:55 -0400, richard wrote:

> I tried this

> <iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>

> Assigining songid as $songid=$play[0];

> Retrieving value through

> $number=$_GET["asong"];

> echo $number;

> Results in "songid" being printed.

That is as expected, you're setting the value of asong in the query 
string to the text value songid.

Depending on how you're generating the string:

<iframe id="x1" src="audiox1.php?asong=songid" name="alpha"></iframe>

and assuming that $songid is a php variable containing the numeric songid 
that you want to pass, you may wish to replace songid in the above 
construction with one of:

' . $songid . '
$songid
{$songid}

I also suggest that you read 

http://www.php.net/manual/en/language.types.string.php 

very carefully. There are some very important comments there about what 
happens inside different types of string literal depending on the quoting 
methods used.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#11342

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-10-10 13:12 +0000
Message-ID<l3694a$lqf$1@dont-email.me>
In reply to#11333
On Wed, 09 Oct 2013 22:32:22 -0400, richard wrote:

> So how do I properly set the intitial value?

That's up to you. How you choose default values to display when the page 
is first loaded is always up to the developer.

However, if you have a consistency rule, it's probably best to ensure it 
applies to the initial defaults as well as subsequent page loads.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#11345 — resolved?? Re: How to transfer value to iframe? (was: How to transfer value to iframe?)

Fromrichard <noreply@example.com>
Date2013-10-10 13:01 -0400
Subjectresolved?? Re: How to transfer value to iframe? (was: How to transfer value to iframe?)
Message-ID<orlpb7ptvlye.o9v9q8t427lk.dlg@40tude.net>
In reply to#11333
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.

[toc] | [prev] | [next] | [standalone]


#11346 — Re: resolved?? Re: How to transfer value to iframe?

Fromrichard <noreply@example.com>
Date2013-10-10 13:28 -0400
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<1unisvyfxhlgr.178muhrnzrgab.dlg@40tude.net>
In reply to#11345
On Thu, 10 Oct 2013 13:01:51 -0400, 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.

works just fine.
www.mroldies.net/200.audiox.php

[toc] | [prev] | [next] | [standalone]


#11347 — Re: resolved?? Re: How to transfer value to iframe?

FromDerek Turner <frderek@cesmail.net>
Date2013-10-10 17:39 +0000
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<bbo728Fbpj4U1@mid.individual.net>
In reply to#11346
On Thu, 10 Oct 2013 13:28:30 -0400, richard wrote:

> works just fine. www.mroldies.net/200.audiox.php

apart from the 404 error, you mean?

[toc] | [prev] | [next] | [standalone]


#11348 — Re: resolved?? Re: How to transfer value to iframe?

Fromrichard <noreply@example.com>
Date2013-10-10 15:47 -0400
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<dtoht00255fb.3oxio8b58l4w$.dlg@40tude.net>
In reply to#11347
On 10 Oct 2013 17:39:20 GMT, Derek Turner wrote:

> On Thu, 10 Oct 2013 13:28:30 -0400, richard wrote:
> 
>> works just fine. www.mroldies.net/200.audiox.php
> 
> apart from the 404 error, you mean?

Yep. you don't know how to correct the obvious mistake?
www.mroldies.net/200/audiox.php

[toc] | [prev] | [next] | [standalone]


#11352 — Re: resolved?? Re: How to transfer value to iframe?

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-10-10 21:31 +0000
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<l376b1$lqf$6@dont-email.me>
In reply to#11348
On Thu, 10 Oct 2013 15:47:32 -0400, richard wrote:

> :20 GMT, Derek Turner wrote:

>> richard wrote:

>>> www.mroldies.net/200.audiox.php

>> apart from the 404 error, you mean?

> Yep. you don't know how to correct the obvious mistake?
> www.mroldies.net/200/audiox.php

You may believe that the mistake was obvious, but you posted a valid url 
to a non existent document. In such cases there is no "obvious" fix.

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


#11358 — Re: resolved?? Re: How to transfer value to iframe?

Fromrichard <noreply@example.com>
Date2013-10-10 19:45 -0400
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<1a4601h7we3au.b87mxkwzryxp.dlg@40tude.net>
In reply to#11352
On Thu, 10 Oct 2013 21:31:13 +0000 (UTC), Denis McMahon wrote:

> On Thu, 10 Oct 2013 15:47:32 -0400, richard wrote:
> 
>>:20 GMT, Derek Turner wrote:
> 
>>> richard wrote:
> 
>>>> www.mroldies.net/200.audiox.php
> 
>>> apart from the 404 error, you mean?
> 
>> Yep. you don't know how to correct the obvious mistake?
>> www.mroldies.net/200/audiox.php
> 
> You may believe that the mistake was obvious, but you posted a valid url 
> to a non existent document. In such cases there is no "obvious" fix.

www.shut.the.fuk.up.stu.pid
is a valid link as well.
if it does not exist, you get an error.

[toc] | [prev] | [next] | [standalone]


#11362 — Re: resolved?? Re: How to transfer value to iframe?

FromThe Natural Philosopher <tnp@invalid.invalid>
Date2013-10-11 01:45 +0100
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<l37hmr$56n$2@news.albasani.net>
In reply to#11358
On 11/10/13 00:45, richard wrote:
> On Thu, 10 Oct 2013 21:31:13 +0000 (UTC), Denis McMahon wrote:
>
>> On Thu, 10 Oct 2013 15:47:32 -0400, richard wrote:
>>
>>> :20 GMT, Derek Turner wrote:
>>
>>>> richard wrote:
>>
>>>>> www.mroldies.net/200.audiox.php
>>
>>>> apart from the 404 error, you mean?
>>
>>> Yep. you don't know how to correct the obvious mistake?
>>> www.mroldies.net/200/audiox.php
>>
>> You may believe that the mistake was obvious, but you posted a valid url
>> to a non existent document. In such cases there is no "obvious" fix.
>
> www.shut.the.fuk.up.stu.pid
> is a valid link as well.
> if it does not exist, you get an error.
>
not a 404 error though....

-- 
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to 
lead are elected by the least capable of producing, and where the 
members of society least likely to sustain themselves or succeed, are 
rewarded with goods and services paid for by the confiscated wealth of a 
diminishing number of producers.

[toc] | [prev] | [next] | [standalone]


#11377 — Re: resolved?? Re: How to transfer value to iframe?

FromEvan Platt <evan@theobvious.espphotography.com.invalid>
Date2013-10-11 08:17 -0700
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<cj5g59t1tqn4vt1gkrf3b92goc71iqkmfn@4ax.com>
In reply to#11358
On Thu, 10 Oct 2013 19:45:53 -0400, richard <noreply@example.com>
wrote:

>www.shut.the.fuk.up.stu.pid
>is a valid link as well.
>if it does not exist, you get an error.

And you wonder why no one ever wants to help you?

You're so fscking st00pid you can't even cut and paste properly. LOL.
-- 
To reply via e-mail, remove The Obvious and .invalid from my e-mail address.

[toc] | [prev] | [next] | [standalone]


#11379 — Re: resolved?? Re: How to transfer value to iframe?

FromDenis McMahon <denismfmcmahon@gmail.com>
Date2013-10-11 15:27 +0000
SubjectRe: resolved?? Re: How to transfer value to iframe?
Message-ID<l395cc$hql$2@dont-email.me>
In reply to#11358
On Thu, 10 Oct 2013 19:45:53 -0400, richard wrote:

> On Thu, 10 Oct 2013 21:31:13 +0000 (UTC), Denis McMahon wrote:
> 
>> On Thu, 10 Oct 2013 15:47:32 -0400, richard wrote:
>> 
>>>:20 GMT, Derek Turner wrote:
>> 
>>>> richard wrote:
>> 
>>>>> www.mroldies.net/200.audiox.php
>> 
>>>> apart from the 404 error, you mean?
>> 
>>> Yep. you don't know how to correct the obvious mistake?
>>> www.mroldies.net/200/audiox.php
>> 
>> You may believe that the mistake was obvious, but you posted a valid
>> url to a non existent document. In such cases there is no "obvious"
>> fix.
> 
> www.shut.the.fuk.up.stu.pid is a valid link as well.
> if it does not exist, you get an error.

Ok, you're such an expert at fixing such obvious mistakes, what's the 
correct url given that the following url gives a 404:

http://www.sined.co.uk/sined/m.use.html

Prove your answer is correct by telling us what appears at the correct 
url.

Explain what makes the "obvious" answer so "obvious".

-- 
Denis McMahon, denismfmcmahon@gmail.com

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.php


csiph-web