info = [];
info[0] = ‘hi’;
info[1] = ‘hello’;
$.ajax({ type: "POST", data: {info:info}, url: "index.php", success: function(msg){ $('.answer').html(msg); }});
info = [];
info[0] = ‘hi’;
info[1] = ‘hello’;
$.ajax({ type: "POST", data: {info:info}, url: "index.php", success: function(msg){ $('.answer').html(msg); }});