title: How to count the colums in a certain database table + more and show it on website (with php)
body: <p>I need my visitors on homepage to see how many <em>active</em> user we have. I need to include this with php. (need the code)</p>
  
  <p>in mysql database user is marked with 0 (inactive) and 1 (active).</p>
  
  <p><strong>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?</strong></p>
  
  <p>Would prefer to this in php cause i'm not so used to js and query.</p>
  
  <p>A simple methode/explanation would be very nice.</p>
  
  <p>Thank you.</p>