I have a php page, with a form I am attempting to submit.
<form method="Post" action="submitTest.php">
    <input type="hidden" name="Test" value="Test Value">
    <input type="submit" value="Submit" name="SubmitTest">
<form>

In submitTest.php, I simply put
<?php
print $Test;
?>

Yet, I continually get the browser message:
"Notice: Undefined variable: Test in ...\submittest.php on Line 2

1. Any reason that I can not pass the variable to the submit page?  I am
using an Apache Web Server on Windows XP.  I am simplying attempting to pass
a variable from one page to another, so I can update my database.  This is
just a simple test that is failing.

2. If I have a <select name="testmultiple" multiple> HTML tag, how can I
reference the x# of variables that are selected in that form value in the
submittest page?  I would want to get every option that is selected in the
page.

3. Is there a variable so that I can see everything that is passed from the
form, some debug variable I could "print()" to see everything that was
passed from the form?

Anyone have an idea?



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

Reply via email to