Getting Response from Ajax and Display on PHP page

Ok so I am using ob_flush(); flush(); methods to display each iteration and its working.