http://qs321.pair.com?node_id=1095198


in reply to Hash will not print if a value begins with 2 under certain conditions

It may not be related to your problem, but do you really mean for your if conditionals to be the following?

if($row[1] == 2 && $row[2] <= 50000 && $row[2] <= 51113178) {...}
if($row[1] == 22 && $row[2] <= 16300001 && $row[2] <= 20500000) {...}

Did you mean for the second comparison in each to actually be $row[2] >= ####?