Re: [PHP] Php error with MySql

2005-01-07 Thread Wil Hitchman
Apologies...just have had loose fingers - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Wil" <[EMAIL PROTECTED]>; Sent: Thursday, January 06, 2005 3:31 PM Subject: RE: [PHP] Php error with MySql [snip] ...stuff... Wil [/snip] I

Re: [PHP] Php error with MySql

2005-01-07 Thread Stan F
- Original Message - From: "Wil" <[EMAIL PROTECTED]> To: Sent: Thursday, January 06, 2005 9:35 PM Subject: [PHP] Php error with MySql > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource

Re: [PHP] Php error with MySql

2005-01-06 Thread Janet Valade
Wil wrote: I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $n

Re: [PHP] Php error with MySql

2005-01-06 Thread Richard Lynch
Wil Hitchman wrote: > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /home/wilmail/public_html/elblog.php on line 7 > &n=& //error ends here > > with the following bit of code > > $qResult = mysql_query ("SELECT * FROM blog_ent

Re: [PHP] Php error with MySql

2005-01-06 Thread Brian Tully
sounds like there's something up with the query, perhaps the wrong table name. as a debugging method I usually use the die() clause when performing a query so I can ensure the query is correct. try using this: $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC") or die("could n

RE: [PHP] Php error with MySql

2005-01-06 Thread Jay Blanchard
[snip] ...stuff... Wil [/snip] I replied to this over an hour ago, please do not repost. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php error with MySql

2005-01-06 Thread John Nichel
Wil Hitchman wrote: I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY i

Re: [PHP] Php error with MySql

2005-01-06 Thread John Holmes
> From: "Wil Hitchman" <[EMAIL PROTECTED]> > > I get the following error > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /home/wilmail/public_html/elblog.php on line 7 > &n=& //error ends here > > with the following bit of code > > $qResult = mysql

RE: [PHP] Php error with MySql

2005-01-06 Thread Jay Blanchard
[snip] I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $

[PHP] Php error with MySql

2005-01-06 Thread Wil
I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $nRows =

[PHP] Php error with MySql

2005-01-06 Thread Wil
I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $nRows =

[PHP] Php error with MySql

2005-01-06 Thread Wil Hitchman
I get the following error Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/wilmail/public_html/elblog.php on line 7 &n=& //error ends here with the following bit of code $qResult = mysql_query ("SELECT * FROM blog_entries ORDER BY id DESC"); $nRows