Recommend this page to a friend!

      PHP MySQL to MySQLi  >  All threads  >  mysql_result  >  (Un) Subscribe thread alerts  
Author:Ri?ardas ?epas
Date:2019-06-26 22:50:24

  1. mysql_result   Reply   Report abuse  
Picture of Ri?ardas ?epas Ri?ardas ?epas - 2019-06-26 22:50:24
Thank you for the useful migration package.
I think function mysql_result($result,$row,$field=null)
should be mysql_result($result,$row,$field=0) instead.

As in typical usage when function is called with 2 parameters only, original mysql function returns first field, not false.

For more information send a message to info at phpclasses dot org.