Posted by fabs on 10:57:00 07-17-2001
I'm currently rewriting the poll script so that we can update the poll sometime
Since I just discovered php has the fopen-function, just like c, what I'm gonna do is a file called poll.txt which looks like this:
Question ....?
TheFirstChoiceString
TheSecondChoiceString
TheThirdChoiceString
each on one line.
when then have one script that displays the poll (disppoll.php) and one which processes it and displays results (poll.php).
Now, all we have to do to put a new poll up is edit poll.txt and reset the table 'poll' in our dbase.
fabs
Posted by Peter on 11:43:00 07-17-2001
Cool, that means we can have several polls stored, right?
[addsig]