|
|
||||||||
|
||||||||
|
||||||||
|
|
|
| Basically, you need to write static function to: - query your poll question id, question, answer, option count, total vote count and status from tbl_poll - query user voted record to check whether user has voted before or not. - Do delete record from tbl_user_vote and insert user_id, qst_id and option value if he has voted. - Update option count and total vote count. |
| |
|
• Discuss Tutorial
• Comment On Tutorial |
• View Tutorial
• Report Broken Link |