// 		 $c+=1;
    // 		 echo " $c .)".$brandname[$i]."<br>";
    // 	}
    // }
}
?>

<?php 
// echo "hello there!";
$mybrand_indb = select('fs_member_brand_selected', 4, array('mno', $_SESSION['mno']));
// print_r($mybrand_indb);
// echo "found = ".count($mybrand_indb);
// echo "<hr>";
if (!empty($mybrand_indb)) {
    $users = get_all_mno_has_thesamebrand($mybrand_indb);
    $users = remove_fexist($users, my_list_followed());
}
// print_r($users);
// $users = array(123,125,127,128,129,130,129,130);
// $users = array(123,125,127,128,129,130,129);
// $users = array(123,125,127,128,129,130);
// $users = array(123,125,127,128,129);
// $users = array(123,125,127,128);
// $users = array(123,125,126);
// $users = array(123,125);
// $users = array(123);
?>


<?php 
if (count($users) > 5) {
示例#2
0
<?php

session_start();
require "../connect.php";
require "../function.php";
require "../source.php";
// echo "you connect to this !! <br>";
// print_r($_GET['followed']);
// print_r(br_convert_array($_GET['followed']));
// echo "Total = ". count(br_convert_array($_GET['followed']));
// print_r(my_list_followed());
$flist_follow = remove_fexist(remove_emptyarry(br_convert_array($_GET['followed'])), my_list_followed());
insert_my_followed($flist_follow);
// echo "clean array!<br>";
// echo "total = ".count(remove_emptyarry(br_convert_array($_GET['followed'])));
// print_r(remove_emptyarry(br_convert_array($_GET['followed'])));