΢ ½  ע   Ϊҳ ղ

ѧPHP >> Դ >> ajax poll ͶƱ

ajax poll ͶƱ

鿴5826 ʱ2010-06-16 23:29:39

ƣAJAX Poll
/֯ƣEr. Rochak Chauhan
лphp+mysql,php+ı
ٷվhttp://www.rochakchauhan.com/
صַ
ظеԴ,ҪֱӸ ( 860 )

Դhttp://www.OSphp.com.cn
ܣ
´ͼƬ //PHPԴ
This class can be used to present and process a poll without reloading the page where it appears.

It uses an HTML template to present the poll page. The poll options appear as radio buttons in a place determined by the template.

The class also generates the necessary Javascript to submit the poll votes to the server and present the current poll results using AJAX.
#1) Include all the javascripts files. The first Javascrip file to be included should be prototype.js.

#2) The scores/votes are being read/written in txt files. You can change them to any database using vote.php

#3) To change the look and feel of the box, please edit template.html and/or stylesheet.css
(תעת:ѧPHP)    


  Ƽ




  
dzƣ
(20ַ10)
ݣ