Jump to content

SQL SUMs


Rezert

Recommended Posts

Line 168 - http://phpfi.com/347769

 

When I try to run this query in mysql.exe it returns the expected data:

 

SELECT SUM(`gold`), SUM(`tk`), SUM(`yk`) FROM `hits` WHERE `nick`='Rezert';

 

However, when I run the query in my PHP, it returns an empty array although it does say mysql_num_rows() != 0

 

Thanks in advance,

Rezert

Link to comment
https://forums.phpfreaks.com/topic/121569-sql-sums/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.