Update cancel_result.php

changes sql to array and got indeces