Why can't I store a boolean in an array? I get an error when I attempt to run it. (On line line 3)
The columns being retrieved with the exception of stamp are booleans. Here's a snippet of my code.
$BoolQ = "SELECT stamp, active, latvian, russianSpeaker FROM tasktable WHERE taskID=usrid;";
$Boolr = mysqli_query($connection,$BoolQ);
$Boolrow = mysqli_fetch_array($Boolr);
Error:
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given