$GLOBALS['cache_instance']->init();
// Query the database about this
- $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__);
- while ($row = SQL_FETCHARRAY($result)) {
+ $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__);
+ while ($row = sqlFetchArray($result)) {
// Save row
$GLOBALS['cache_instance']->addRow($row);
} // END - while
// Free memory
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
// Close cache
$GLOBALS['cache_instance']->storeExtensionVersion('imprint');