* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
} // END - if
// Look for all
- $result = SQL_QUERY('SELECT
+ $result = sqlQuery('SELECT
`grade_id`,
`grade_name`
FROM
$gradeValues = array();
// Are there entries?
- if (!SQL_HASZERONUMS($result)) {
+ if (!ifSqlHasZeroNums($result)) {
// Load all entries
- while ($grade = SQL_FETCHARRAY($result)) {
+ while ($grade = sqlFetchArray($result)) {
// Add it to arrays
array_push($gradeKeys , $grade['grade_id']);
array_push($gradeValues, $grade['grade_name']);
);
// Free result
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
} // END - if
// Return cache