} // 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