View Single Post
  #3 (permalink)  
Old 09-15-2006, 05:57 AM
Laurent Laurent is offline
Casual Pligger
 
Join Date: Feb 2006
Posts: 67
Thanks: 2
Thanked 0 Times in 0 Posts
It does not seem to work when using this:

PHP Code:
$links $db->get_col("select link_id from links where link_category=1 order by link_votes desc");
if(
$links){
        
$story = new Link;
        foreach(
$links as $link){
            
$story->id $link;
            
$story->read();
                }

But(!) I forgot to mention that I am using Meneame, not sure if that will affect the coding?
Reply With Quote