note 24647 added to function.imap-search

From: Date: Sat, 24 Aug 2002 07:52:31 +0000
Subject: note 24647 added to function.imap-search
Groups: php.notes 
Request: Send a blank email to php-notes+get-35440@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. -- http://www.php.net/manual/en/function.imap-search.php http://master.php.net/manage/user-notes.php?action=edit+24647 http://master.php.net/manage/user-notes.php?action=delete+24647 http://master.php.net/manage/user-notes.php?action=reject+24647

« previous php.notes (#35440) next »