4
Hello Ghia,
How to clean some module to work with MySQL without ADODB abstraction layer ?
Example:
// this is the setup for the ADODB library
include($config['basepath'].'/include/adodb/adodb.inc.php');
$conn = &ADONewConnection($db_type);
$conn->PConnect($db_server, $db_user, $db_password, $db_database);
global $conn;
$ADODB_FETCH_MODE = ADODB_FETCH_ASSOC;
$sql = "SELECT ID from ".$config['table_prefix']."_members ORDER BY rank";
$recordSet = $conn->Execute($sql);