List all Rows
List all rows in database
Replace table with the table from what you're going to fetch
$db->list("SELECT * FROM table")
Response
array(1) {
[0]=> array(4) {
["id"]=> int(1) "1"
["name"]=> string(25) "test1"
}
}
Last updated