Re: Problem with frames
| From: | olinux | Date: | Thu, 05 Apr 2001 10:38:24 +0000 |
| Subject: | Re: Problem with frames | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8252@lists.php.net to get a copy of this message | ||
Use sessions
begin script2.php - the form processor like this
session_start();
session_register('variable');
session_register('another_variable');
$variable = $valueyouwanttostore;
$another_variable = $anothervaluetostore;
just register any variable name, notice, there is no "$" when registering
then begin each frame with
<?
session_start();
?>
and all of your registred variables will be available!
olinux
----- Original Message -----
From: "Bartek Pawlik" <pawlikb1@poczta.onet.pl>
To: <php-db@lists.php.net>
Sent: Wednesday, April 04, 2001 11:56 PM
Subject: [PHP-DB] Problem with frames
Hi!
I have a following problem:
I have a script in PHP, say "script1.php", there is a form and submit
button.
What I want is, after pressing the button, I want to load 2 frames in one
window, but (MOST IMPORTANT), I want to pass all variables from form to BOTH
frames at once.
Please help,
Bartek Pawlik
POLAND
--
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com