Javascript Not Updating Database
<p>I have a Edit Profile, for the user's profile. Well, The Javascript seems to be only getting the value of the Age's Form. The PHP File is getting the Age, but no others and it's not updating the database.</p>

<p>Javascript:</p>

<pre><code>function UpdateProfile() {
var newage = $("#NewAge").val();
var newimage = $("#NewImage").val();    
var newbio = $("#NewBio").val();    
var dataString = 'newage=' + newage || 'newimage=' + newimage || 'newbio=' + newbio;    
if (newbio.length , newage.length , newimage.length == 0) {
    $('#Required').fadeIn(300);
    $('#Mask').fadeIn(300);     
} else {
    $.ajax({
        type: "POST",
        url: "update_profile.php",
        data: dataString,
        cache: false,
        success: function (UpdateProfile) {
            $('#EditInfo').hide();
            $("#UpdatedProfile").html(UpdateProfile);
            $("#UpdatedProfile").fadeIn('slow');
            $("#Age").html('Age: ' + newage);
            $('#Image').html('&lt;img src="' + newimage +'" width="150" height="100" /&gt;');                                             
        }
    });
   }
}
</code></pre>

<p>Here's The update_profile.php File:</p>

<pre><code>&lt;?php session_start() ?&gt;
&lt;?php include 'connect.php' ?&gt;     
      &lt;?php
        $newimage = $_POST['newimage'];
        $newbio = $_POST['newabout'];
        $newage = $_POST['newage'];         
            $update = "UPDATE members SET bio=(".$newbio.") age=(".$newage.") image=(".$newimage.") WHERE id='".$id."'";
            $res = mysql_query($update);
            echo 'Success: Profile Updated!&lt;br /&gt;';
            echo $update . '&lt;br /&gt;';
      ?&gt;
</code></pre>

<p>HTML:</p>

<pre><code>&lt;input type="text" id="NewAge" value="&lt;?php echo $age ?&gt;" maxlength="2" /&gt;
&lt;input type="text" id="NewImage" value="&lt;?php echo $image ?&gt;" maxlength="500" /&gt;
&lt;textarea id="NewBio" style="width: 500; max-width: 500; height: 100; max-height: 150;"&gt;&lt;?php echo $bio ?&gt;&lt;/textarea&gt;
&lt;input type="submit" value="Update Profile" onClick="UpdateProfile()" /&gt;
</code></pre>

<p>The Code The Update outputs is this:</p>

<pre><code>Success: Profile Updated!
UPDATE members SET bio=() age=(18) image=() WHERE id='1'
</code></pre>
