" ."$question\n"); if ($row['poll_type'] == $POLL_TYPE_PICKONE) print("(please pick one)\n"); else print("(pick all that apply)\n"); for ($i = 0; $i < 10; $i ++) { $answer = htmlspecialchars($row["answer$i"]); if ($answer != "") { if ($row['poll_type'] == $POLL_TYPE_PICKONE) print("
$answer\n"); } } $votes = $row['votes']; if ($votes == 1) $votes .= " vote"; else $votes .= " votes"; $ccount = count_comments("poll.php_r$id"); if ($ccount == 1) $ccount .= " comment"; else $ccount .= " comments"; print("
\n" ."[ Results ]\n"); print("
($votes, $ccount)

\n"); } db_free($result); } // // End of "$Id: poll.php,v 1.1 2004/05/20 03:38:42 mike Exp $". // ?>