stristr($post['message'],$t1)=== FALSE gives a list of results but I need stristr($post['message'],$t1)=== TRUE, that gives only 1 result !
help plz.,
CODE:
foreach($page_posts['data'] as $post){
if(!(stristr($post['message'],$t1)=== FALSE) && $t1!==" ")
{
$message = (($post['message']) ? $post['message'] : " ");
$i++;
print($message);
}
same as stristr($post['message'],$t1)=== TRUE i.e.; gives one result only ~