I am trying to write a script/html page that displays live company information internally. I want to have a widget that counts the amount of live projects from our database.
The widget will need to look on the table called 'projects' then look in the column called 'live' and count how many times 'LIVE' is displayed, but the last problem I have is that we operate two companies so it will need to first check that column 'company' has 'E' there and then count the 'live' column.
I cannot think how to approach this as my php skills are less than novice... more like n00b!