| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: U.S.A.
Posts: 655
![]() ![]() | Have a question it's either MYSQL or PHP. I have a question it's either MYSQL or PHP. I think that it is MYSQL but i am not sure if you can do this with PHP (Like everything else.) Okay i want to make a poll on my website. But all i have been able to make is a Thing that says you have selected PHP or something. How would i make it show the results of % that have voted what they said? Thanks for the help, -Coolprogram P.S. Man i have a lot 'o questions EDIT: Here is what i have been doing. www.tuttorial.com/index.php |
| |
| | #2 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,267
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You will have to record everytime somebody votes, what they vote, and all those things. After words you will have to do this. Total of all votes / (<- DIVIDED BY) Number of Voters. For each topic in the poll. PHP Code:
__________________ I feel old. |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: U.S.A.
Posts: 655
![]() ![]() | yeah sure why not. www.tuttorial.com/html.php . There you go. I just want to like get averages i dont know how to do that either so take a look and tell me what i've got to do. |
| |
| | #8 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,267
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Sure. For this I would theme it off a shopping cart. Use MySql to store a session id. Than withdraw it at the end. Keep updating it. Here is a very nice tutorial on that. http://www.phpbuilder.com/columns/evert20000816.php3 iNod
__________________ I feel old. |
| |
| | #10 (permalink) |
| NamePros Member Join Date: Dec 2003 Location: Warrington, UK
Posts: 174
![]() | Get in touch if you need help with it
__________________ www.Scene-Power.com - ***YOUR DEDICATED SERVER SOLUTIONS*** |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows | deadserious | Webmaster Tutorials | 96 | 05-27-2007 01:24 PM |
| Googlism - What does google think of you? | deadserious | The Break Room | 55 | 12-15-2005 09:09 AM |
| Tutorial: How to Install Apache2 MySQL and PHP on Windows | deadserious | Webmaster Tutorials | 35 | 09-21-2005 09:46 PM |
| Tutorial: Getting Started With MySQL (The Basics) | deadserious | Webmaster Tutorials | 3 | 04-18-2004 01:17 PM |