|
Posted by J.O. Aho on 07/19/06 18:10
Luka M. wrote:
> ----- Original Message -----
> From: "Luka M." <paxcode@gmail.com>
> Newsgroups: alt.php
> Sent: Wednesday, July 19, 2006 7:52 PM
> Subject: frames
>
>
>> I's like to transfer a string from one frame containing the PHP page to
>> another, without having to loose all the variables from the page in that
>> second frame. Is it possible? I need plain PHP (HTML), nothing fancy
> :-)...
>> thx
>>
>>
>
> Oh, yeah, it's an iframe, not a frame, and I don't want no external files or
> nothing...
You need a file for the the iframe to load.
> Anyone knows? You click a button in one frame, and post it to another, but
> all the variables stay :-) Anyone?
Make a normal form where the action is directed to the iframe. Each time you
submit the iframe will be reloaded and in your script loaded in the iframe you
output the $_REQUEST['variable_name'].
//Aho
Navigation:
[Reply to this message]
|