Location: PHPKode > scripts > MW Poll2 > mwpoll/readme.txt
To install the poll respects the following steps:

---------------------------------------------------------------------------------------
1 - EXTRACT THE PACKAGE ZIP. WILL BE CREATED A FOLDER CONTAINING THE FILES OF THE SURVEY MWPOLL
---------------------------------------------------------------------------------------

-------------------------------------------------------------------------------
2 - OPEN WITH AN EDITOR THE FILE CONFIG.PHP AND SET THE SURVEY AS SPECIFIED IN THE FILE 
-------------------------------------------------------------------------------

------------------------------------------------------------------------------
3 -  UPLOAD THE FOLDER ON YOUR SERVER AND SET ON THE FOLDER THE PERMITS WRITING 
------------------------------------------------------------------------------

----------------------------------------------------------------------------------
4 - COPY BETWEEN TAG HEAD OF WEB PAGE WHERE THE SURVEY WILL BE INSERT THE FOLLOWING CODE.
WEB PAGE MUST HAVE PHP EXTENSION AND YOUR SERVER MUST SUPPORT THE PHP
----------------------------------------------------------------------------------

<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>

<script>

$(document).ready(function(){
  
  $("#vote").click(function(){
   
    var valore = $("input[type=radio][name=radio_button]:checked").val();
	pagina = "mwpoll/cast.php?t=v&c=" + valore;
	$("#response").load(pagina);
    $("#response").show();
	
  });
  
  $("#result").click(function(){
  
  pagina = "mwpoll/cast.php?t=r";
  $("#response").load(pagina);
  $("#response").toggle();
  
  });
  
});
</script>

<link rel="stylesheet" type="text/css" href="mwpoll/style.css" />

---------------------------------------------------------
4 - ENTER THE FOLLOWING CODE WHERE YOU WANT TO PUT THE POLL
--------------------------------------------------------

<?php include("mwpoll/form.dat"); ?>

------------------------------------------------------------------------------------
5 - BEFORE YOU START A NEW SURVEY. DELETE THE FILE POLL.DAT THAT WILL BE CREATED BY THE SURVEY
------------------------------------------------------------------------------------

Return current item: MW Poll2