Hi.
This post might be something I have been trying to find, can you tell me please if I am understanding you right
THIS GOES IN A TEXT FILE INTO MY DIRECTORY WITH A .php EXTENSION
<?php $flees = "any text"; ?>
THIS GOES INTO THE HTML PAGE 1
<form name="form1" method="post" action="./dogs.php">
<input name="fleas" type="hidden" value= "<?php echo $fleas ?>">
<input type="submit" name="Submit" value="Submit">
</form>
Now make another file with name dogs in the same directory and include.
THIS GOES IN A TEXT FILE INTO MY DIRECTORY WITH A .php EXTENSION
<?php
$fleas = $HTTP_POST_VARS['fleas'];
echo $fleas;
?>
Now when you hit submit from first page (cats.php) it will take you to the second page (dogs.php) passing the relevant variable.
I DON'T NEED TO PUT ANYTHING INTO HTML PAGE 2 SINCE THE VARIABLES GET PASSED INTO HTML PAGE 2 FORM FIELDS.
FOR AN EXPLANATION OF WHAT I AM TRYING TO DO PLEASE SEE
http://www.phpbuilder.com/board/showthread.php?threadid=10234974
all help is appreciated.
Thank you
Jolac