[Solved] Php variable not getting incremented in jquery
Fixed session issue : $.ajax ({ url : “test.php”, type : “post”, data : { “categoryIds” : categoryIds }, dataType : “json”, success : function(resp){ var html = “”; var i = 1; <?php $j = 1; ?> $.each(resp,function(key,questions ){ var testdataIndex = “answer_” + i ; var filename = “getsession.php?sessionName=”+testdataIndex; $.get(filename, function (data) { … Read more