Menu
I’m getting data from my database by SUM and COUNT.
When I display it on the page, I’m displaying 0 (zero) when it’s nothing. How can I in SQL or PHP end echo a – (dash) if it’s not a zero.
I can do a if statement each time I echo it but it’s a lot of code and am wondering if there’s a simpler way?