In the study of PHP, tutorials are
mysql_connect
similar methods, see comments said these are not recommended to use, and then use a
mysqli_connect
similar alternative to the alternative,
mysql_result
when I use the
mysqli_result
hint is a undefined method, check the next,
mysqli_result
is a class, then ask
mysql_result
is there a
“i”
workaround?
Reply content:
In the study of PHP, tutorials are mysql_connect
similar methods, see comments said these are not recommended to use, and then use a mysqli_connect
similar alternative to the alternative, mysql_result
when I use the mysqli_result
hint is a undefined method, check the next, mysqli_result
is a class, then ask mysql_result
is there a “i”
workaround?
No, after the execution of the Mysqli_query method succeeds, a Mysqli_result object is returned for the SELECT statement, and the object can be queried for the document. http://php.net/manual/zh/class.mysqli-result.php