Form Submission dropping variables.
Posted: Tue May 19, 2009 2:34 pm
Hi All,
I have a simple form that I am using to verify information.
I am accessing the form via URL:
And pulling those variables into my page using:
- Works as expected.
Inserting it into my form with this:
Writing it to a data file with this:
and getting this when the form is submitted.
Any Ideas?
Any help is greatly appreciated. : )
Thank you!
I have a simple form that I am using to verify information.
I am accessing the form via URL:
Code: Select all
http://www.domain.com/form.php?AccountN ... ccountNameCode: Select all
Your Account Number is: <?php echo "$AccountNumber"; ?>Inserting it into my form with this:
Code: Select all
<input name="AccountNumber" type="hidden" value="<?php echo "$AccountNumber"; ?>" />Code: Select all
$f = fopen("_data/recert.csv","a");
fwrite($f,$_REQUEST["AccountNumber"].",".$_REQUEST["AccountName"].",".$_REQUEST["cert_FullName"]. "\n");
fclose($f);Code: Select all
Notice: Undefined index: AccountNumber in ..\dev\index.php on line 6Any Ideas?
Any help is greatly appreciated. : )
Thank you!