19.09.2011, 18:34
I'll take a look at this, wanted to learn PHP for a while now anyways .
There's one small thing though:
Wouldn't 'SELECT COUNT(ID) FROM users' do the trick as well? AFAIK, that selects both all IDs and the number of IDs.
There's one small thing though:
pawn Код:
$query = "SELECT ID, COUNT(ID) FROM users ";