ERROR -- BAD SQL?
SELECT pagenum FROM pages WHERE church= AND pageurl='sermons'
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND pageurl='sermons'' at line 1

Fatal error: Uncaught Error: Call to a member function fetch_array() on boolean in /homepages/39/d222735107/htdocs/lutheranLiturgy/view.php:32 Stack trace: #0 {main} thrown in /homepages/39/d222735107/htdocs/lutheranLiturgy/view.php on line 32