You can try something like (pardon this will be a quick idea/example)
require('../db.php');
$checkbox = array();
$result = mysql_query ("SELECT * FROM `forum_regions`");
while($row = mysql_fetch_array($result)){
if (isset($row['RegionID'])) {
$checkbox[$row['RegionID']] = true;
} else {
$checkbox[$row['RegionID']] = false;
}
}
Ideally, $checkbox is an array, each of the keys will be your dynamic checkbox list, and it will return true if its posted, as a checkbox variable just isnt set or !isset() if it isn't checked.
You can add additional validators such as && $_POST[$row['RegionID']] == 1 if you want to ensure it came through ok.
hope this helps..