Problem with imap_search

From: Date: Sat, 24 Aug 2002 07:15:08 +0000
Subject: Problem with imap_search
Groups: php.general 
Request: Send a blank email to php-general+get-113909@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. ----------------------------------------------------- This mail sent through IMP: http://web.horde.org/imp/

« previous php.general (#113909) next »