Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 5, 2020. It is now read-only.
ratajs edited this page Feb 13, 2017 · 1 revision

Select

This method returns and saves code of SELECT command, this command finds saved data in the table. Syntax:
$object->select(string $table[, string $order = NULL[string $orderType = "ASC", [, array $cols = array("*")]]])
Object
- Object of extension.
Table
- Table name.
Order
- Name of column, which will be order argument. If it’s NULL, order argument will be time of adding.
OrderType
- ASC or DESC, order direction.
Cols
- List of columns with values, which will fetch(), fetchArray() or fetchAll() method return. If it’s array("*"), these methods will return all columns.
Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.