Re: [PHP] References in an array

2001-01-19 Thread Richard Lynch
> $overview = imap_fetch_overview($mbox, "1:$last", 0); > $IDs = array(); > $i = 0; > > foreach($overview as $val){ > $IDs[$i][0] = $val->message_id; > $IDs[$i][1] = &$val; > $i++; > } > > echo ""; > foreach($IDs as $val){ > echo "" . $val[1]->subject . ""; > } > echo ""; > > Unfor

[PHP] References in an array

2001-01-19 Thread Ruppel, Mathias
Hi there, I'm just a beginner in programming PHP; so my problem is probably a mistake in my thinking. I'm using some arrays to display information of an internal news-server in a web-browser, like $overview = imap_fetch_overview($mbox, "1:$last", 0); $IDs = array(); $i = 0; foreach($overview