Im having a little confusion why the following is not working.
get.php
you can't gave the data value to the array.
$.get("get.php", function(data){ alert(data[2]); }, "json");