Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: $_POST and Arrays


Message #1 by Paul <paul@d...> on Wed, 25 Sep 2002 08:10:55 -0400
im not sure ... maybe $value doesn't get evaluated

try
$status = $_POST['formData1[' . $value . '->student_id]'];

or maybe
$status = $_POST["formData1[$value->student_id]"];


> -----Original Message-----
> I'm posting data through a form using an array.
> 
> This works:  $status = $formData1[$value->student_id];
> 
> This doesn't work:  $status = $_POST['formData1[$value->student_id]'];
> 
> Any ideas?


  Return to Index