Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

Re: [PHP-DB] Problem with frames From: olinux (olnx <email protected>)
Date: 04/05/01

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 <email protected>>
To: <php-db <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  <email protected> address at http://mail.yahoo.com

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>