Chris:
in view.php:
Click here to see the value of cr
in anotherpage.php:
echo $cr; //outputs 'yes'
Or:
more form stuff etc etc yadda yadda yadda
?>
//Submitting the form will reload the page and if you detect for it,
//the variable $arse should be available with the value of 'big'
; From: Chris Hall [mailto:[EMAIL PROTECTED]]
> Sent: 03 April 2001 09:13
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Keeping Variables
>
>
> Hey guys, need somore help..
> i need to pass a variable like $cr from view.php to
> comment.php..i thought
> there used to be
I use this in forms to submit something to the same page and then do
something like if($submit){ do this }
Hope it helps
Lisa
-Original Message-
From: Chris Hall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 9:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Keeping Variables
Hey guys, need somore help..
i need to pass a variable like $cr from view.php to comment.php..i thought
there used to be a variable called $php_self, but i just searched the
php.net site and nothin showed up...newaz any help is appreciated. thnx
--
Chris Hall
sytems administrator
funnelbox mediaw