mysqli_result

liunx

Guest
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 (<!-- m --><a class="postlink" href="http://au3.php.net/manual/en/function.mysqli-fetch-assoc.php">http://au3.php.net/manual/en/function.m ... -assoc.php</a><!-- m -->)() method anyways.thanks
 
Back
Top