[Cialug] (no subject)
David Champion
cialug@cialug.org
Thu, 03 Feb 2005 12:41:35 -0600
Have you tried to access that an an array?
p.s. for PHP discussions visit http://www.ciapug.org - Chris H.
re-registered the domain, and we're in the process of re-starting the group.
-dc
Jason Hill wrote:
> Long time listener, first time caller.
>
>
>
> I'm trying to do some very dynamic form work and have run into a problem
> that I don't quite know about.
>
>
>
> I have information in an XML file that I use to populate the form
> (checkboxes and text boxes). The names of those objects come from the
> information in the XML file. Once the form is submitted I need to iterate
> over all the $_POST information and update data in the XML file according to
> what was checked and entered into the check/text boxes.
>
>
>
> So far I've gotten stuck on $_POST['$varname'] always being empty. ($varname
> will change every iteration of a loop, so there's some nested goodness too)
> Using var_dump($_POST) shows me that in fact the $varname variable is there
> and even using strcmp on a string that is exactly the same as what var_dump
> tells me is there doesn't work.
>
>
>
> The XML datafile changes daily, so I can't count on fields being there or
> not, or being in the same place in the file.
>
>
>
> Any thoughts from the php gurus out there?
>
>
>
> Thanks,
>
>
>
> -Jason
>
>
>
> Jason Hill
>
> jahill@iastate.edu