I need my visitors on homepage to see how many active user we have. I need to include this with php. (need the code)
in mysql database user is marked with 0 (inactive) and 1 (active).
How can I count/read out the outcome, means all active users, of the database(database_name) - table(user_registration) - colums(each_one) - count(status)? How to publish this on my website?
Would prefer to this in php cause i'm not so used to js and query.
A simple methode/explanation would be very nice.
Thank you.