VBSpike
Nov 11th, 2001, 01:18 AM
I've created a poll in php and now I try to figure out the best way to present the results. I really like the idea of the cnn.com's (http://www.cnn.com) poll where they display the results in a seperate popup window. So the question: how can I make something like this in php (is it even possible). At this time my poll works like this: I have the main page (.htm) where the poll's questions are. When you vote I use the form post method to send all the data to the results.php file (php obviously) which then processes the data, saves the file and displays percentage and stuff. But unfortunately now it opens in the same window as my homepage. I want it to open in a new window (customized - no toolbars etc.), so the user stays on my homepage after voting (just like cnn.com).
Thanks for any help you can provide.
Thanks for any help you can provide.