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>

?>

//Submitting the form will reload the page and if you detect for it, 
//the variable $arse should be available with the value of 'big' 

HTH ;-)

Russ

#-------------------------------------------------------#
                                
         "Believe nothing - consider everything"        
                                                        
  Russ Michell
  Anglia Polytechnic University Webteam
  http://www.apu.ac.uk/webteam
  [EMAIL PROTECTED]
  +44 (0)1223 363271 ext 2331
  
  www.theruss.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