LucasFerraz
Systems Analyst
How can I convert this array to a string?$playersonline = $SQL->query('select count(*) from players where online = 1;')->fetchAll();
Using ModernAAC
How can I convert this array to a string?$playersonline = $SQL->query('select count(*) from players where online = 1;')->fetchAll();
PHP:$playersonline = $SQL->query('select count(*) as count from players where online = 1;')->fetchAll(); //$playersonline['count']
".$playersonline[0]['count']."