[Tutorial] PHP + MySQL
#6

I'll take a look at this, wanted to learn PHP for a while now anyways .

There's one small thing though:
pawn Код:
$query = "SELECT ID, COUNT(ID) FROM users ";
Wouldn't 'SELECT COUNT(ID) FROM users' do the trick as well? AFAIK, that selects both all IDs and the number of IDs.
Reply


Messages In This Thread
PHP + MySQL - by Kingunit - 19.09.2011, 16:51
Re: PHP + MySQL - by [MWR]Blood - 19.09.2011, 17:09
Re: PHP + MySQL - by Jafet_Macario - 19.09.2011, 17:14
Re: PHP + MySQL - by Fat - 19.09.2011, 17:24
Re: PHP + MySQL - by Kingunit - 19.09.2011, 18:11
Re: PHP + MySQL - by Hiddos - 19.09.2011, 18:34
Re: PHP + MySQL - by Kingunit - 19.09.2011, 18:42
Re: PHP + MySQL - by System64 - 19.09.2011, 19:05
Re: PHP + MySQL - by [HiC]TheKiller - 19.09.2011, 19:42
Re: PHP + MySQL - by Kingunit - 19.09.2011, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)