Using the toplist generator in admin I have the following which is on the home page
<!-- BEGIN TOPLIST 10 --> <CONFIG>links,time,5,descending,type=blog,,,0,0,0,0,0,0,,0</CONFIG> <div class="linktitle"><a href="link.php?id={LINKID}" {EXTERNALLINKS}>{LINKTITLE}</a></div> {LINKDESCRIPTION}<br /> <!-- END TOPLIST 10 -->
However, all I get is the error message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/onlinets/public_html/blog/databases/mysql.php on line 27
Attached is the debug.
The page is fine until I put this toplist on. All the other toplists on that page work ok. There is no other toplist that is numbered 10.
Comments on toplist not working
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
Using the toplist generator in admin I have the following which is on the home page
<!-- BEGIN TOPLIST 10 -->
<CONFIG>links,time,5,descending,type=blog,,,0,0,0,0,0,0,,0</CONFIG>
<div class="linktitle"><a href="link.php?id={LINKID}" {EXTERNALLINKS}>{LINKTITLE}</a></div> {LINKDESCRIPTION}<br />
<!-- END TOPLIST 10 -->
However, all I get is the error message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/onlinets/public_html/blog/databases/mysql.php on line 27
Attached is the debug.
The page is fine until I put this toplist on. All the other toplists on that page work ok. There is no other toplist that is numbered 10.
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Change type=blog to type='blog'
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
!!! Thanks Paul
Sometimes when you work too much you just cannot see what you are doing!