Each row of SQL request returns multi-dimentional array with only 1 element "active" now when I do this it outputs even part of array that is "0" as well
for ($i = 0; $i < count($sql_response); $i++) {
foreach ($sql_response[$i] as $key => $value) {
if ($key == "active"){
echo "<br>".$key." - ".$value;
};
};
};
If I use === in IF it works, why it does not work with == it seems like i never had this problem with single denominational arrays.