I have never tried this before, but is there a way I can find out if a query does not return any data (with other words: if it can't find any data)?
I have a page with links to other sites stored in a MySQL database in various categories. If a category is empty, my script does not display anything. I want it to display a message that no data was found.
Does anyone know how to do this?
Thanks in advance,
Stefan