I am new to PHP as such, and am trying to create an nusoap web service. I have created the following array on a server side script. On the client on receipt of $schedule, how can I go through and print the array contents? Thanks.
$scheduleitem = array();
for ( $counter = 0;
$list = mysql_fetch_object( $l_oDBresult);
$counter++ )
{
$itemname = $list -> name;
$start = $list -> start;
$end = $list -> end;
// build table to display results
$scheduleitem[] = array('name' => $itemname, 'start' => start, 'end' => $end);
}
$schedule = array('scheduleitem' => $scheduleitem);
return $schedule;