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 Quote Link to comment Share on other sites More sharing options...
Danaldinho Posted December 1, 2007 Author Share Posted December 1, 2007 Anyone? Quote Link to comment 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 . Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment 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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.