well, really the only way I can think of is to add an if() statement at the point where you actually iterate through the rows. like this:
while($thisRow = mysql_fetch_array($myResult)) {
if($thisRow["testColumn"] != null) {
...
(work here)
...
}
}
since PHP doesn't generally retrieve the entire result-set as a PHP variable type (only individual rows), attempting to remove rows from a result-set would be unnecessarily tedious and could introduce other complications. I think the above workaround is your best option.