Untitled
public php v1 · immutable $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']); }