Im having a little confusion why the following is not working.
get.php
data contains a string of the JSON, so arr[2] will be the third character in the string. You need to use $.parseJSON(data).
data
arr[2]
$.parseJSON(data)