I get the error when trying to run this:
query(
Your query must have a problem which is causing $result to be an invalid resource.
Use this
query('SELECT title,content FROM staff_vacancies ORDER BY ordering LIMIT 0,100');
// Get an array containing the results.
// Loop for each item in that array
if($result){
while ($row = $connector->fetchArray($result)){
echo $row['title'].'';
echo $row['content'];
}
}
?>