Changeset 827 for temp/test-xoops.ec-cube.net/html/modules
- Timestamp:
- 2006/12/13 10:34:52 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspolloption.php
r826 r827 135 135 $ret[] = $myrow; 136 136 } 137 $sql = "SELECT count(*) as count FROM ".$db->prefix("xoopspoll_log")." l LEFT JOIN ". $db->prefix("users") ." u ON l.user_id = u.uid WHERE l.option_id=".intval($option_id)." ORDER BY time DESC LIMIT $limit_start, $limit_end"; 138 $result = $db->query($sql); 139 $myrow = $db->fetchArray($result); 140 141 $ret['count'] = $myrow['count']; 142 137 143 //echo $sql; 138 144 return $ret;
Note: See TracChangeset
for help on using the changeset viewer.
