- Timestamp:
- 2006/12/11 13:58:50 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspolloption.php
r405 r676 110 110 $db =& Database::getInstance(); 111 111 $ret = array(); 112 $sql = "SELECT * FROM ".$db->prefix("xoopspoll_option")." WHERE poll_id=".intval($poll_id)." ORDER BY option_ id";112 $sql = "SELECT * FROM ".$db->prefix("xoopspoll_option")." WHERE poll_id=".intval($poll_id)." ORDER BY option_count LIMIT 0, 10"; 113 113 $result = $db->query($sql); 114 114 while ( $myrow = $db->fetchArray($result) ) {
Note: See TracChangeset
for help on using the changeset viewer.
