how do I change this code
$admin=mysql_result($admin,0);
to use the mysqli, does not work if I
$admin=mysqli_result($admin,0);
I get the following error
undefined function mysqli_result()
That's because there is not a mysqli_result() function!
I understand that but how do I change it to work with mysqli?
there isn't really an equivelent. your better of using something like the fetch_assoc() method anyways.
thanks