Hi all,
I have a form that when submitted passes the $_POST arry to a process script.
The $_POST array is dynamic and can have more or less items in the second part of the array
The $_POST Array:
Array ( [AuditedBy] => imaintdemo [AuditBy] => imaintdemo [auditdate] => 2013-07-25 15:05 [HotelID] => LONHA [Room] => 101 [failed] => 1 [check] => Array ( [0101] => 0 [0102] => 0 [0103] => 0 [0104] => 0 [0105] => 0 [0106] => 0 [0107] => 0 [0108] => 0 [0109] => 0 [0110] => 0 ) [01comments] => [clientID] => 471 )
First part of the array:
Array ( [AuditedBy] => imaintdemo [AuditBy] => imaintdemo [auditdate] => 2013-07-25 15:05 [HotelID] => LONHA [Room] => 101
Second part of array:
[failed] => 1 [check] => Array ( [0101] => 0 [0102] => 0 [0103] => 0 [0104] => 0 [0105] => 0 [0106] => 0 [0107] => 0 [0108] => 0 [0109] => 0 [0110] => 0 )
Waht I am trying to do is insert the first array content followed by the second array content but looping through until all the second array items have been inserted.
Where do I start?
Just in case anyone is wondering, the second part of the array is displaying a zero (0) which is what I am expecting. The zero is used as a flag.
Any help would be great.
Regards,
Blackbox