<form method="post" action="<?php echo $PHP_SELF?>">
I use this in forms to submit something to the same page and then do
something like if($submit){  do this  }

Hope it helps

-----Original Message-----
From: Chris Hall [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 9:13 AM
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 mediaworks

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