I am new to php. So, when I try to convert this code which uses mysql, to mysqli, it keep saying, Error - Call to undefine function mysqli_result(); Here is the code.