What does the following PHP function serve as?

This function helps to get data from database, $conn parameter is a connection to database, $query is an sql statement like SELECT * FROM country. function will fetch data from database and return array of results.

Leave a Comment