Changeset 833 for temp/test-xoops.ec-cube.net
- Timestamp:
- 2006/12/13 10:46:30 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspolloption.php
r827 r833 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";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"; 138 138 $result = $db->query($sql); 139 139 $myrow = $db->fetchArray($result);
Note: See TracChangeset
for help on using the changeset viewer.
