All pastes #370049 Raw Edit

Unnamed

public text v1 · immutable
#370049 ·published 2007-02-24 05:40 UTC
rendered paste body
                while (my @row2 = $sth->fetchrow_array)
                {
                        sleep 1;
                        $Letter++;
                        if (@row[1] == 1)
                        {
                                $Correct = $Letter;
                        }
                        $sql = "INSERT INTO open_questions SET Nick = '$Nick',QuestionID = '$qid', CorrectAnswer = '$Correct'";
                        $sth = $dbh->prepare($sql);
                        $rv = $sth->execute;
                        print $sock "PRIVMSG $Chan :$Nick: $Letter.) @row2[0]\r\n";
                }