Update ajax.php

Added mysqli_info() and mysqli_affected_rows()