changing the status according to reference number 

Make sure to change the http address as : http://127.0.0.1/status_change.php?refno=a&status=b.
NOTE : The status is either 1 or 0 ( in place of b, type 1 or 2) whereas the ref_no can be 1 to 10 ( in place of a, type any digit 1 to 10).