Originally Posted by sunfighter
A curious line. Did getComparison.php print out a json response for you and was it what you expected?
Yes it is. First off, I tried using a sample variable of a certain string in getComparison.php as well as changing the code in line 5 and assigning them different values when they pass through the different if statement. It does successfully print out the accurate print out a JSON response correctly.
Side note, I tried commenting out the ajax codes on Comparison.php and without them, the table come out perfectly(Take note that I am using rnd me code, refer to the previous reply of my Comparison.php)
Could it be something to do with the ajax itself? Or do I miss a comma or something? I just can't figure it out