var r_name=$("input[name='r_name']").val();
var r_email=$("input[name='r_email']").val();
var r_description=$("[name='r_description']").val();
var index;
$("#stars li").click(function(){
index=$(this).index()+1;
alert(index+" yıldız verdiniz.");
})
$.ajax({
type:"POST",
url:"Transactions.php?do=Reviews_I",
data:{r_name,r_email,r_description,index},
böyle deneyin bir