Re: displaying the result of a COUNT query in MySQL
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: displaying the result of a COUNT query in MySQL

From: Andy Hassall <andy@andyh.co.uk>
Date: Mon Dec 19 2005 - 21:12:26 CET

On 19 Dec 2005 12:01:34 -0800, briansmccabe@gmail.com wrote:

>

 Please quote some context when replying. The default "reply" at the bottom in
Google Groups cuts out all previous text; this is not the accepted way to post
to Usenet. Click "show options" next to the author/date for the message, then
use the "Reply" option there; this quotes and attributes the previous message.
Then follow:

 http://groups.google.com/googlegroups/posting_style.html#summarize

 ... i.e. don't just quote the lot, unless the message is small and the whole
message is relevant to your reply.

>I put it back in, and the exact same result occurs.
>
>FYI, line 19 is as follows:
>
>$result6 = mysql_fetch_array($query6);

 It can't have got here and produced the same error, if you put in the error
handling Kimmo posted.

 Post your revised code for the lines between mysql_query and
mysql_fetch_array.

-- 
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Received on Fri Dec 23 20:15:22 2005