mysql count
#8

I don't see any threaded query, as he's using mysql_query, which is a non-threaded function.

Don't use the rows variable, as mysql will only return one row, which has the count value.
Just get the value from your result at row 0, field 0 using "cache_get_row_int(0, 0)".
Reply


Messages In This Thread
mysql count - by jeffery30162 - 18.01.2015, 23:42
Re: mysql count - by CoaPsyFactor - 18.01.2015, 23:47
Re: mysql count - by jeffery30162 - 19.01.2015, 00:04
Re: mysql count - by jeffery30162 - 19.01.2015, 00:49
Re: mysql count - by PaulDinam - 19.01.2015, 01:57
Re: mysql count - by CoaPsyFactor - 19.01.2015, 02:10
Re: mysql count - by CoaPsyFactor - 19.01.2015, 02:12
Re: mysql count - by PowerPC603 - 19.01.2015, 06:42
Re: mysql count - by jeffery30162 - 19.01.2015, 19:16
Re: mysql count - by jeffery30162 - 19.01.2015, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)