Hopefully a simple one.
I know that you'll get a 404 error on a dynamic page if the database is empty, but I was hoping that I could still load the page and display some text instead? I have a gallery linked to the DB, but we don't currently have any items in the DB. I'd like to hide the gallery and then display some text to feedback to the user that there are currently no items.
Any help would be greatly appreciated.