RE: [PHP] Reading Posted variable names

2003-02-05 Thread John W. Holmes
> I am trying to write a quick form->mail script (like Matt's) and I am > stuck > on one small part: > > form: > > > > > > > > > > > > > > > > Form.php (receiver of the form post): > foreach($_POST as $x) { > print "$x"; > } > > > Will output the values of field1, field2, etc

[PHP] Reading Posted variable names

2003-02-05 Thread Mike Morton
I am trying to write a quick form->mail script (like Matt's) and I am stuck on one small part: form: Form.php (receiver of the form post): foreach($_POST as $x) { print "$x"; } Will output the values of field1, field2, etc BUT - how do I get the field names on the form.php pa