addYouAreHereLink('admin', __FILE__);
if (isFormSent()) {
- $result = SQL_QUERY("SELECT
+ $result = sqlQuery("SELECT
`userid`,
`email`
FROM
`nl_receive`='Y'
ORDER BY
`userid` ASC", __FILE__, __LINE__);
- if (!SQL_HASZERONUMS($result)) {
+ if (!ifSqlHasZeroNums($result)) {
// Members are available so we can send out the newsletter!
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($content = sqlFetchArray($result)) {
// Construct mail...
$template = 'newsletter';
} // END - if
// Free memory
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
} else {
// Copy data into constants for the template and load it
$content['datestamp'] = generateDateTime(time(), 3);