Posted on Sunday 15th June 2008 at 07:14 AM
i'm having a problem right now, and the reason is because i'm not fully understanding how i'm suppossed to do this.
i have a page where an admin can add a poll, the poll system uses 3 mysql tables, poll, questions, responses. i will show a link to an online demo:
https://dev64.frankychan04.com/cms/?page=polls&a=3
you enter the name for the poll, then you enter the amount of options you want, the amount of options can be unlimited.
the query to create the poll is done after the first step, now i want to know is how to load every option into the table, what would my query look like, and what would the for loop look like, thanks.
i have a page where an admin can add a poll, the poll system uses 3 mysql tables, poll, questions, responses. i will show a link to an online demo:
https://dev64.frankychan04.com/cms/?page=polls&a=3
you enter the name for the poll, then you enter the amount of options you want, the amount of options can be unlimited.
the query to create the poll is done after the first step, now i want to know is how to load every option into the table, what would my query look like, and what would the for loop look like, thanks.