It did, as long as I have the GROUP BY NULL.
- Am trying to figure, why my query won't detect a value:
ex: <?php if ($category='50'){echo $row_X['COUNT(*)'];}?>
$category is defined as a varaible in the query.
Is there something wrong with this simple statement here?
Can the variable be detected from within the cell or does each of the outcomes have to be inside the SELECT query itself? If so, how would it be done?