Question
Importing a repeating region - Invalid MySQL Resource?
On my main pageof my site, I have an article listing
ofarticles marked for
"front page". I can display a certain number of these articles properly,
w/o any problems, as seen here:
http://demo.mediachurch.com
(under News Highlights).
However, when I try to pull that code out and put it in a different page
(b/c I may want to list these same things re-using the code in another
area), it gives me the following error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in C:\XAMPP\xampp\htdocs\dMedia\www\app\nl_FrontPage.php on line 22
This is from a direct copy of the code from one page to another. Does
anybody have any idea of what could be happening? I just need a direction,
working on multiple problems today and I just can't seem to see around this
one. I've redone and recreated the page now for about 2 hours, and am just
not able to get it to work. I have had no similar problems on any of my
other pages that pull in article listings from included files.
--
TIA,
Jon Parkhurst
PriivaWeb
http://priiva.net.
"front page". I can display a certain number of these articles properly,
w/o any problems, as seen here:
http://demo.mediachurch.com
(under News Highlights).
However, when I try to pull that code out and put it in a different page
(b/c I may want to list these same things re-using the code in another
area), it gives me the following error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in C:\XAMPP\xampp\htdocs\dMedia\www\app\nl_FrontPage.php on line 22
This is from a direct copy of the code from one page to another. Does
anybody have any idea of what could be happening? I just need a direction,
working on multiple problems today and I just can't seem to see around this
one. I've redone and recreated the page now for about 2 hours, and am just
not able to get it to work. I have had no similar problems on any of my
other pages that pull in article listings from included files.
--
TIA,
Jon Parkhurst
PriivaWeb
http://priiva.net.
