okay youre right. A few of thoughs functions do sound silly now that they are more clearly explained.
I have changed the description part to this
if ($_POST['parse_var'] == "description"){
$description = $_POST['description'];
$description = eregi_replace("'", "'", $description);
$description = eregi_replace("`", "'", $description);
$description = mysql_real_escape_string($description);
$description = nl2br(htmlspecialchars($_POST['description']));
$sqlUpdate = mysql_query("UPDATE finances SET description='$description' WHERE mem_id='$id'");
}
and I have changed the html to this
<form action="Finances.php" enctype="multipart/form-data" method="post" name="checkform" id="checkform">
<tr>
<td><input name="description" type="text" class="formFields" id="description" value="<?php print "$description"; ?>" size="20" maxlength="20" /><input name="parse_var" type="hidden" value="description" /></td>
<td><input type="checkbox" name="r1a" value="1"/></td>
<td><input type="checkbox" name="r1b" value="1"/></td>
<td><input type="checkbox" name="r1c" value="1"/></td>
<td><input type="checkbox" name="r1d" value="1"/></td>
<td><input type="checkbox" name="r1e" value="1"/></td>
<td><input type="checkbox" name="r1f" value="1"/></td>
<td><input type="checkbox" name="r1g" value="1"/></td>
<td><input type="checkbox" name="r1h" value="1"/></td>
<td><input type="checkbox" name="r1i" value="1"/></td>
<td><input type="checkbox" name="r1j" value="1"/></td>
<td><input type="submit" name="button1" id="button1" value="Submit" /></form></td>
</tr>
This works correctly for the description input and displays the input in the database in the blank and allows the user to change it.
Now I still need to get the checkboxes to work. I am still confused about how to get the checkboxes to input a 1 into the database when they are checked and the form is submitted.
And as far as $id goes ... I have not showed the entire page where I established $id as the session id.
All of the code I have showed you in on the same page called Finances.php.
thank you so much for your input, as I realize this may be very clear to someone more experienced, I am still learner. Thanks again.