note 24647 rejected from function.imap-search by jmcastagnetto

From: Date: Sat, 24 Aug 2002 08:38:58 +0000
Subject: note 24647 rejected from function.imap-search by jmcastagnetto
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35448@lists.php.net to get a copy of this message
Hi,Sir: I try to count the result of imap_search as following example: ---------------------------------------- $c_num=imap_search($mbox,"SUBJECT ".$search_text); $total_num=count($c_num); echo $total_num; ---------------------------------------- I found that there is no keyword matched the mail SUBJECT , but it (the array numbers) appears that $totalnum =1 . --------------------------------------- Every time I try the same way, but It alwarys = 1 It should be 0 , shouldn't it ? Is there any body could tell me why? Thanks for any would reply me .... Fongming from Taiwan.

« previous php.notes (#35448) next »