|
Posted by Markus Ernst on 10/06/46 11:53
Luka M. schrieb:
> ----- 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...
> Anyone knows? You click a button in one frame, and post it to another, but
> all the variables stay :-) Anyone?
> -Luka M.
>
>
<form action="file.php" target="otherframe" method="post">
<?php foreach ($variables_to_keep as $key => $value) { ?>
<input type="hidden" name=<?php echo $key; ?>" value="<?php echo $value;
?>">
<?php } ?>
<?input type="submit" value="submit">
</form>
Navigation:
[Reply to this message]
|