Envision Limerick
this site the web

Voting system done..

It took me all days but I have the voting functionality complete, When the user clicks on the vote button the 'vote' field in the database to the corresponding building is incremented by 1. To accomplish this I used php script vote.php which connects to my database and increments the according value. This line of code I used in flash on the button(as2): loadVars_out.sendAndLoad("http://www.envisionlimerick.phpzilla.net/vote.php", loadVars_in, "POST"); this sends the name of the building as the parameter through the url request.

My problem now is to limit it to one vote per user per building.

0 comments:

Post a Comment

 

W3C Validations

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Morbi dapibus dolor sit amet metus suscipit iaculis. Quisque at nulla eu elit adipiscing tempor.

Usage Policies