Changeset 806
- Timestamp:
- 2006/12/13 01:32:25 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/xoopspoll/class/xoopspoll.php
r805 r806 208 208 $body = str_replace("'", "''", $arrData['body']); 209 209 $sql ="INSERT INTO ".$this->db->prefix("xoopspoll_option")." (poll_id, option_text, body, status, category_id, update_date) ". 210 "VALUES (".$arrData['poll_id'].", ".$option_text.", ".$body.", 1, ".$arrData['category_id'].", now())";210 "VALUES (".$arrData['poll_id'].", '".$option_text."', '".$body."', 1, ".$arrData['category_id'].", now())"; 211 211 212 212 $this->db->query($sql);
Note: See TracChangeset
for help on using the changeset viewer.
