hi
i wnat to send 11 ans using jquery ajax request below is my function tell me how i can send 11 parameter and want to get these 11 values in php i send the request with one parameter and function work successfully tell me how i can send 11 parameter and how i can get these 11 parameter to insert in database. here is the function
setTimeout(function(){
$.ajax({
type: "POST",
url: "../res/set_activities.php",
data: {q1: sc1_q1 , q2: sc1_q2 , q3: sc1_q3 , q4: sc1_q4 , q5: sc1_q5 , q6: sc1_q6 , q7: sc1_q7 , q8: sc1_q8 , q9: sc1_q9 , q10: sc1_q10 , q11: sc1_q11}, //"{type:" + 'r' + ",q1:" + sc1_q1 + ",q2:"+ sc1_q2 + "}",
cache: false,
success: function(html){
alert('done');
}
});
},3000);
tell me how i can send 11 values in javascript and get 11 values in php waiting for your reply
thanks