miner.php custom formatting and row counter '#'