I have a table (sites) with this data: And I need the PHP/MySQL query’s to get these variables: Total Registers: 15 Total Registers = 0: 7 Total Registers = 1: 8 Percentage Status 0: 47% Percentage Status 1: 53% Total Registers Brand Alfa: 5 Total Registers Brand Alfa = 0: 3 Total Registers Brand Alfa = 1: 2 Percentage Status Brand Alfa = 0: 60% Percentage Status Brand Alfa = 1: 40% Total Registers Brand Beta: 4 Total Registers Brand Beta = 0: 3 Total Registers Brand Beta = 1: 1 Percentage Status Brand Beta = 0: 75% Percentage Status Brand Beta = 1: 25% The first that complete the script below receive 15USD in your Paypal account. <? $query = mysql_query("SELECT ...... // Print out result echo "Total Registers...." ..... echo "Percentage Status Brand Beta...." ?> PHP:
I couldn't leave a feedback since for my project I did not start a thread, but beware of this Militarysmurf user. He will do a good job for small projects, then when it comes to a bigger project, he will accept some payment then disappear on you and not respond to emails. I have not heard anything from him for over a week now.