note 5517 deleted from Classes and Objects by ronabop
| From: | ronabop@php.net | Date: | Thu, 17 Aug 2000 09:58:47 +0000 |
| Subject: | note 5517 deleted from Classes and Objects by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2161@lists.php.net to get a copy of this message | ||
Hi everybody.
I have problems using objects arrays. I'm calling imap_fetchstructure function and the last
parameter returned is an object array
Could anyone help me about this piece of code?
It drives me crazy!
<pre>
for ($i=1;$i<count($objmail->parts)+1;$i++)
{
$objaux=$objmail->parts[$i];
echo "Parte ".$i." Tipo: ".getTypes($objaux)."<br>";
if (count($objaux->parts)>0){
for ($j=1;$j<count($objaux->parts)+1;$j++)
{
$objaux2=$objaux->parts[$j];
echo "Parte ".$i.".".$j." Tipo: ".getTypes($objaux2)."
Codificacion :".getEncoding($objaux2)."<br>";
}
}
}
<pre>
compiler returns me "Warning bla bla bla" but does it.
Thanx.