I have made two program 1)PHP page 2) jquery page
php function will be called from jquery page
but it doesnot giving any output
TODO write content
<input type="button" id="btn" onclick="savedata();">
<div id="lengthQuestion"></div>
</form>
</body>
-------------------------------------------------------------------PHP CODE----------------
<?php $arr=array(); $arr=$_POST['list']; function getdata($arr) { print_r($arr); } ?>