WebAppers

/ best free open source web resources /

Shopify

Creating a Dynamic Poll with jQuery and PHP

Posted · Category: License Free, Polls

When you combine some neat functionality courtesy of PHP with the cleverness of jQuery you can produce some pretty cool results. NETTUTS has published a tutorial (Creating a Dynamic Poll with jQuery and PHP) for creating a poll using PHP and XHTML, then make use of some jQuery Ajax effects to eliminate the need for a page refresh, and to give it a nice little bit of animation.

Ajax Poll

Requirements:-
Demo: http://nettuts.com/demos/test_poll/
License: License Free

9 Comments
  • Pingback: Creando una encuesta dinamica con jQuery y PHP | Seraphinux

  • http://itandbusinesstalk.blogspot.com IT Freak

    certainly,

    nettuts.com rocks

  • http://www.mediaportal.hr me

    don’t work… doesn’t update votes, always shows the same result.. seen that other pepople have the same problem, no solution yet

  • me2

    don’t work… doesn’t update votes, always shows the same result.. seen that other pepople have the same problem, no solution yet

  • http://www.cybernasha.com Cool Frek

    Grt

  • ArturoQ

    For everyone out there uploading this thing and having the votes not logged:

    Replace:
    $id = $_GET['vote'] || $_POST['vote'];
    With:
    $id = isset($_GET['vote']) ? $_GET['vote'] : $_POST['vote'];

    and

    Replace:
    $id = $_GET['poll'] || $_POST['poll'];
    With:
    $id = isset($_GET['poll']) ? $_GET['poll'] : $_POST['poll'];

  • http://webmark.com.pt webmark

    @ ArturoQ

    The solution posted doesn´t works here …
    Any sugestion ?

  • CraigR

    Even ArturoQ’s edit isn’t making it work for me. The vote totals don’t change.

  • Pingback: TinyTips – Lightweight jQuery Plugin for Tooltips | Webplus - web developer resource blog

Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons