Method: db::column
Returns all values from single column of a table
Info
Syntax
db::column($table, $column, $where=null, $order=null, $page=null, $limit=null)
Parameters
- $table (string) The table name
- $column (string) The name of the column
- $where (mixed) Either a key/value array as AND connected where clause or a simple MySQL where clause string
- $order (string) Order clause without the order keyword. ie: "added desc"
- $page (int) a page number
- $limit (int) a number for rows to return