Frequently Asked Questions
How can I connect to database connection in PHP report?
Last Updated a year ago
We have already connected to PHP report, and the variables is $db.
$query = $db->query("select * from mytable");For more information about database queries in PHP report, follow the link below:
$resultset = $query->result_array();