Revision: 14637
Updated Code
at June 8, 2009 10:27 by erichelgesen
Updated Code
$db = new Database($config['server'],$config['user'],$config['pass'],$config['database'],$config['tablePrefix']); $db->connect(); $sql ="SELECT * FROM XYZ WHERE ABC"; $all_ = $db->fetch_all_array($sql); $db->close();
Revision: 14636
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 8, 2009 10:01 by erichelgesen
Initial Code
require("db_class/config.inc.php"); $db = new Database($config['server'],$config['user'],$config['pass'],$config['database'],$config['tablePrefix']); $db->connect(); $sql ="SELECT * FROM XYZ WHERE ABC"; $all_ = $db->fetch_all_array($sql); $db->close();
Initial URL
Initial Description
Use to get all database results on a SQL query
Initial Title
Database All - using DB Class
Initial Tags
database
Initial Language
PHP