Here I would like to check: IF param1 < 75 THEN region-in-$result-should-be-set-to-NULLNot sure I get what all you're wanting to do from your message, but could you use a case statement in sql to do this? Or put it in the where clause?
I knew it too be a bit complicated to explain....Basically, it's more a PHP question, I guess. And that is if there is a way to "infiltrate" the $result and change values within. Something like
$result[2][6] = "other value";