> For the complete documentation index, see [llms.txt](https://prtechs-organization.gitbook.io/e2encrypt-frame-php/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prtechs-organization.gitbook.io/e2encrypt-frame-php/database/list-all-rows.md).

# List all Rows

Replace table with the table from what you're going to fetch

```php
$db->list("SELECT * FROM table")
```

Response

```php
array(1) { 
    [0]=> array(4) { 
        ["id"]=> int(1) "1"
        ["name"]=> string(25) "test1" 
    } 
}
```
