Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Server-side Scripting _ mysql_result to mysqli_result

Posted by: jack83 Mar 7 2018, 01:10 PM

Hi, does anyone know how can I change ( $time=mysql_result($result, 0, "time"); ) to mysqli_result format? Thanks.

Posted by: CharlesEF Mar 7 2018, 02:33 PM

Well, I've never used this command but a quick search of the PHP manual returns http://php.net/manual/en/function.mysql-result.php. This page shows the mysqli_* and PDO commands to use instead.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)