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 as $val){
    $IDs[$i][0] = $val->message_id;
    $IDs[$i][1] = &$val;
    $i++;
}
 
echo "<table border=\"1\">";
foreach($IDs as $val){
    echo "<tr><td>" . $val[1]->subject . "</td></tr>";
}
echo "</table>";
 
Unfortunately I only get an empty table; the subject of the referenced
header is not printed in the HTML-Code. Where's the error in my thinking ?
 
Any idea ?
 
Thank you
 
Mathias
____________________________________________
 
Mathias Ruppel
Abt. TAC
SAP AG
Neurottstr. 16
69190 Walldorf
 
Tel. +49 (0) 6227 76 34 23
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
____________________________________________
 

Reply via email to