[snip]
Simple one for anyone who wants to help out a novice.  How do you pass a
variable from one page to another?
[/snip]

Through either a $_POST or a $_GET variable array. 
onepage.php

<form action="another.php" method="POST">
<input type="text" name="myvariable">
<input type="submit">
</form>

another.php

<?php
echo $_POST['myvariable'];
?>

Please RTFM, STFW, and STFA for PHP tutorials.

Thank you.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to