23.02.2017, 21:19
It depends on your sql structure. But it should be something like
or just
PHP код:
select `id` from `accounts` where `name` = 'itachi';
PHP код:
select count(*) from `accounts` where `name` = 'itachi';