<?php $sql = "(select count(*) from rateexport where rateexport.`block # rate` > 0) as #," . PHP_EOL; for ($x = 0; $x < 31; $x++) { echo str_replace("#", $x, $sql); }
You have javascript disabled. You will not be able to edit any code.