Lynk IT Blog
LynkIT Live Help
9Apr/100

Docs: Class Definitions

Database Class The query() method takes up to 3 parameters. The first being the required SQL, the second is the number of rows to return (if this is left blank, or zero is passed this will return all rows), and the third is a pass-through tracking reference which displays in the debugging console. query("SELECT * FROM `table`"); //Return all rows query("SELECT * FROM `table`", 20);
Tagged as: , , No Comments