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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to