Issues with json_encode array
<p>I am having issues with my JSON_encode and jQuery, I am getting it to post the full array with the following code, but I can't get it to echo just the one array I need.</p>

<pre><code>$.get("/indexget.php", { page: "goals" },function(data) {
$('#bodyContentStuff').text(data);
</code></pre>

<p>Full jQuery code</p>

<pre><code>$("#navLinkGoals").click(function () {
    $("#bodyTitleBar").text("Goals");
    $.get("/indexget.php", { page: "goals" },function(data) {
        $('#bodyContentStuff').text(data);
    }
);
</code></pre>

<p>Full PHP code</p>

<pre><code>if($_REQUEST['page'] = 'goals'){
    $result = mysql_query("SELECT * FROM content WHERE page='indexGoals'") 
    or die(mysql_error()); 
    $row = mysql_fetch_array( $result );
    $message = $row['message'];
}
echo json_encode(array("content"=&gt;"$message"));
</code></pre>

<p>I am sort of a noob with programming, but the site is <a href="http://www.gronge.com" rel="nofollow">http://www.gronge.com</a> if you'd like to see what it is doing, just click the goals link.</p>

<p>Edit: Oh, I have also tried</p>

<pre><code>$('#bodyContentStuff').text(data['content']);
</code></pre>

<p>But it didn't work.</p>
