I do a SQL query, problems with the coding.
$s = "SELECT SUM( `square` ) FROM `reports` WHERE `username` = '$arr[$i]';"
The request does not work. Base in utf-8, script in win-1251.
phpMyAdmin only understands when so
SELECT SUM( `square` ) FROM `reports` WHERE `username` = 'Eaai'
How to do it in a script?