Php Mysql Select Where Variable Example Statistics