Frequently Asked Questions

How can I connect to database connection in PHP report?
Last Updated 7 months ago

We have already connected to PHP report, and the variables is $db.
i.e.
$query = $db->query("select * from mytable");
$resultset = $query->result_array();
For more information about database queries in PHP report, follow the link below:
https://www.codeigniter.com/user_guide/database/queries.html

Please Wait!

Please wait... it will take a second!