Hi
I am a total newbie to MySQL and PHP π
I've been playing around with it and I can make sense of most things but I need a little help to get started.
I would like to pass the following via a PHP file and return the result.
SELECT count(*) FROM wts_result WHERE result = '1' GROUP BY result
It works in phpMyAdmin so I assume itβs correct. It returns the total number of wins in the results column for the table wts_result in the database m2sclan1_csc (wins = 1, losses = -1). Iβve read many guides and the official MySQL manual but Iβm really struggling. Can some one show me the way please?