Click here to Skip to main content
15,885,366 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: Radio Buttons [modified x2] Pin
enhzflep30-Dec-09 13:41
enhzflep30-Dec-09 13:41 
GeneralRe: Radio Buttons Pin
thebiostyle30-Dec-09 13:59
thebiostyle30-Dec-09 13:59 
GeneralRe: Radio Buttons Pin
enhzflep31-Dec-09 7:04
enhzflep31-Dec-09 7:04 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 7:13
thebiostyle31-Dec-09 7:13 
GeneralRe: Radio Buttons Pin
enhzflep31-Dec-09 13:05
enhzflep31-Dec-09 13:05 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 18:13
thebiostyle31-Dec-09 18:13 
GeneralRe: Radio Buttons [modified] Pin
enhzflep31-Dec-09 19:41
enhzflep31-Dec-09 19:41 
GeneralRe: Radio Buttons Pin
thebiostyle31-Dec-09 21:44
thebiostyle31-Dec-09 21:44 
QuestionFind the differences betwween two arrays Pin
Marc Firth24-Dec-09 0:51
Marc Firth24-Dec-09 0:51 
AnswerRe: Find the differences betwween two arrays Pin
Luc Pattyn28-Dec-09 10:43
sitebuilderLuc Pattyn28-Dec-09 10:43 
QuestionHow to use postback in php Pin
sarang_k23-Dec-09 22:28
sarang_k23-Dec-09 22:28 
AnswerRe: How to use postback in php Pin
Marc Firth24-Dec-09 1:25
Marc Firth24-Dec-09 1:25 
Questionwarning message Pin
kamalesh574323-Dec-09 15:27
kamalesh574323-Dec-09 15:27 
AnswerRe: warning message Pin
Marc Firth24-Dec-09 1:27
Marc Firth24-Dec-09 1:27 
QuestionSTL vector trouble Pin
Daniel 'Tak' M.22-Dec-09 5:27
Daniel 'Tak' M.22-Dec-09 5:27 
Questionhelp with imap_search function Pin
cjoki21-Dec-09 7:08
cjoki21-Dec-09 7:08 
Hello All,

I am using the imap_search function and I want to return a list of all mail ids flagged as important. I am using the function this way.


$rst = imap_search($mbox,"FLAGGED");
	
	if($rst===false)
	{
		echo "miss";		
	}
	else
	{
		$cnt = count($rst);
		for ($i=0; $i<$cnt; $i++) 
		{
			echo "Match found in Msg#: $rst[$i]\n";
		}
	}


The output from above produces "miss".

I suspect my search string is wrong, but for all my searching I can not find a valid example of its propper usage. The mailbox I am using has 5 email messages in it with one marked as important.

Any ideas?

Thanks in advance!
AnswerRe: help with imap_search function Pin
cjoki21-Dec-09 10:14
cjoki21-Dec-09 10:14 
QuestionPERL script help Pin
David Hoffman19-Dec-09 15:05
David Hoffman19-Dec-09 15:05 
AnswerRe: PERL script help Pin
David Hoffman19-Dec-09 21:45
David Hoffman19-Dec-09 21:45 
GeneralRe: PERL script help Pin
David Hoffman19-Dec-09 22:35
David Hoffman19-Dec-09 22:35 
GeneralRe: PERL script help Pin
Rob21-Dec-09 3:51
Rob21-Dec-09 3:51 
QuestionPHP script getting Gateway Timeout Error. Pin
LazyDragonfist19-Dec-09 8:09
LazyDragonfist19-Dec-09 8:09 
AnswerRe: PHP script getting Gateway Timeout Error. Pin
cjoki21-Dec-09 7:02
cjoki21-Dec-09 7:02 
QuestionHow Can I Start? Pin
code_breaker18-Dec-09 5:37
code_breaker18-Dec-09 5:37 
AnswerRe: How Can I Start? Pin
EliottA18-Dec-09 5:44
EliottA18-Dec-09 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.