When I was learning php, the tutorials were all similar methods of mysql_connect. I commented that these methods are not recommended and I used an alternative method similar to mysqli_connect, when mysql_result is reached, I use mysqli_result to prompt that it is an undefined method. I checked it, mysqli _... when learning php, the tutorials are all
Mysql_connect
For a similar method, read the comments and say that these are not recommended, and then use
Mysqli_connect
A similar alternative method can be found
Mysql_result
I use
Mysqli_result
The prompt is an undefined method. Check it,
Mysqli_result
Yes.
Mysql_result
Yes
"I"
?
Reply content:
When learning php, the tutorials are allMysql_connect
For a similar method, read the comments and say that these are not recommended, and then useMysqli_connect
A similar alternative method can be foundMysql_result
I useMysqli_result
The prompt is an undefined method. Check it,Mysqli_result
Yes.Mysql_result
Yes"I"
?
No. After the mysqli_query method is successfully executed, a mysqli_result object will be returned for the select statement. Please query the document on how to use this object. Http://php.net/manual/zh/class.mysqli-result.php