IMAP Multiple Pages
| From: | CodeHeads | Date: | Mon, 19 Jun 2006 22:09:53 +0000 |
| Subject: | IMAP Multiple Pages | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-238330@lists.php.net to get a copy of this message | ||
Hello again,
Here is another problem I am having. I would like to setup multiple pages on
a IMAP archive reader I am working on.
I cannot seem to get the multiple pages working right.
Here is my code.
$threads = imap_thread($conn);
foreach ($threads as $key => $val) {
$tree = explode('.', $key);
if ($tree[1] == 'num') {
$header = @imap_headerinfo($conn, $val);
echo "<ul>\n\t<li>TOOK OUT HTML CODE\n";
} elseif ($tree[1] == 'branch') {
echo "\t</li>\n</ul>\n"; }
}
Sorry, still learning. :)
Will
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc