RE: [PHP-DB] Keeping Variables

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

RE: [PHP-DB] Keeping Variables

2001-04-02 Thread Steve Brett
session_register("cr"); and then read the manual page on starting sessions etc ... Steve Brett Internal Development EMIS Ltd. "Privileged and /or Confidential information may be contained in this message. If you are not the original addressee indicated in this message (or responsible for

Re: [PHP-DB] Keeping Variables

2001-04-02 Thread Russ Michell
Chris: in view.php: a href="anotherpage.php?cr=yes"Click here to see the value of cr/a in anotherpage.php: echo $cr; //outputs 'yes' Or: ?php form method=\"POST\" action=\"$PHP_SELF\" input type="hidden" name="arse" value="big" more form stuff etc etc yadda yadda yadda /form ?