Danaldinho Posted November 30, 2007 Share Posted November 30, 2007 Hey, Im wanting to add a Poll on my website and im looking for one like this here So as you can see on that site, when you vote, it automatically shows the results and doesnt refreh the page with the results So does anyone know how i can get one of these Thanks alot Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/ Share on other sites More sharing options...
Danaldinho Posted December 1, 2007 Author Share Posted December 1, 2007 Anyone? Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-403502 Share on other sites More sharing options...
asmith Posted December 1, 2007 Share Posted December 1, 2007 i didn't find the vote on that site. but as far as i know you can't do that with server side programming languages like php, you need to do that with client-side programming like : JAVA script . Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-403525 Share on other sites More sharing options...
Danaldinho Posted December 1, 2007 Author Share Posted December 1, 2007 You sure, try that site again Its on the left hand side underneath the nav bar But if it is to do with that, does anyone know how i can get mine to be like that Thanks Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-403608 Share on other sites More sharing options...
~n[EO]n~ Posted December 1, 2007 Share Posted December 1, 2007 You can try this tutorial... http://www.phpfreaks.com/quickcode/Poll/604.php Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-403610 Share on other sites More sharing options...
Danaldinho Posted December 1, 2007 Author Share Posted December 1, 2007 Before i download it and add all the code etc, is there a way i can see a example of it first please Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-403644 Share on other sites More sharing options...
revraz Posted December 1, 2007 Share Posted December 1, 2007 Create a new .php file with that code, then you can see the example. Not hard to copy and paste into a new file. Before i download it and add all the code etc, is there a way i can see a example of it first please Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-403648 Share on other sites More sharing options...
Danaldinho Posted February 12, 2008 Author Share Posted February 12, 2008 n~ link=topic=169949.msg751237#msg751237 date=1196523695] You can try this tutorial... http://www.phpfreaks.com/quickcode/Poll/604.php This link doesn't work no more Do you have another link? Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-464923 Share on other sites More sharing options...
haku Posted February 12, 2008 Share Posted February 12, 2008 If you try to create that with PHP, the whole page will have to refresh after you vote (i.e. you can't see the results right away). You need AJAX to do it. Link to comment https://forums.phpfreaks.com/topic/79571-php-poll/#findComment-464970 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.