Php Mysql Result. The mysqli_free_result() function frees the memory. What is mysql_result() function in PHP?
What is mysql_result() function in PHP? This function returns the field value on success, or FALSE on failure. The mysql_result() function returns the value of a field in a recordset.
The mysqli_free_result() function frees the memory.
When working on large result sets, you should consider using one of the functions that fetch an entire row (specified below). ❮ PHP MySQLi Reference.
This step-by-step beginner's tutorial will walk you through how to do a database search with PHP Welcome to a tutorial on how to search and display results from the database using PHP and MySQL. Fetch rows from a result-set, then free the memory mysqli_close($con); ?> Definition and Usage. The Quick review: mysql_result() is used to write less code when your database query is returning only a single row.