Modify the check.php. Change mysql_fetch_array to mysql_fetch_assoc
Modified the check.php. Change mysql_fetch_array to mysql_fetch_assoc