I have a MySQL table with a check column (active)
TABLE
ID    USER    ACTIVE
1     Mike    0
2     Mark    1
3     Paul    1
4     John    0
And results stored on Array
$check = array();
$query1 = mysql_query("SELECT * FROM mod_users");
while ($row = mysql_fetch_assoc($query1)) {
    $check[] = $row['active'];       
}
I need to check array results in a while cycle:
in_array($foo, $check)
Exist a way to allow duplicate keys for $check array?
 
     
    