All pastes #926737 Raw Edit

Untitled

public php v1 · immutable
·published 2008-03-03 20:34 UTC
rendered paste body
        $this->fetchMultiKarma = $this->db->prepare('            SELECT word, karma, ROWID id FROM karmas WHERE word IN ( :words ) :order        ');            	  $res = $this->fetchMultiKarma->execute(array(':words'=>$wordsin,':order'=>'ORDER BY karma DESC'));                while (($row = $res->fetch(PDO::FETCH_ASSOC))) {                    $this->doPrivmsg($source, 'Debug: '.$row['word'].' => '.$row['karma']);                }