Ok guys I know this question has been asked before but I am very new to PHP and JavaScript and hadn\'t even heard of ajax until i started looking for an answer to this question
This would alert the data. right now that function only returns false.
$.get('backend.php', function(data) { alert(data); });