Unfortunately it's still not working.
Here is the full code that I am using, in case it may help out.
<?php
if (!$submit)
{
$query = "SELECT * FROM animereview WHERE id = '$id'";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
if (mysql_num_rows($result) > 0)
{
$row = mysql_fetch_object($result);
if ($row->staffid = 1)
{
?>
<table width="100%" cellpading="1" cellspacing="0" border="0" id="con">
<form action="<? echo $PHP_SELF; ?>" method="POST">
<input type="hidden" name="id" value="<?php echo $id; ?>">
<input type="hidden" name="staffid" value="1">
<input type="hidden" name="animeid" value="<?php echo $row->animeid; ?>">
<input type="hidden" name="date" value="<?php echo $row->date; ?>">
<tr>
<td width="25%" valign="top"><b>Review:</b></td>
<td width="75%"><textarea cols="50" rows="10" name="review"><? echo $row->review; ?></textarea></td>
</tr>
<tr>
<td width="25%"><b>Animation:</b></td>
<td width="75%"><input size="4" type="text" name="animation" value="<? echo $row->animation; ?>"></td>
</tr>
<tr>
<td width="25%"><b>Plot:</b></td>
<td width="75%"><input size="4" type="text" name="plot" value="<? echo $row->plot; ?>"></td>
</tr>
<tr>
<td width="25%"><b>Character:</b></td>
<td width="75%"><input size="4" type="text" name="character" value="<? echo $row->character; ?>"></td>
</tr>
<tr>
<td width="25%"><b>Music:</b></td>
<td width="75%"><input size="4" type="text" name="music" value="<? echo $row->music; ?>"></td>
</tr>
<tr>
<td width="25%"><b>Value:</b></td>
<td width="75%"><input size="4" type="text" name="value" value="<? echo $row->value; ?>"></td>
</tr>
<tr>
<td width="25%"><b>Enjoyment:</b></td>
<td width="75%"><input size="4" type="text" name="enjoyment" value="<? echo $row->enjoyment; ?>"></td>
</tr>
<tr>
<td width="25%"></td>
<td width="75%"><input type="Submit" name="submit" value="Edit Review"></td>
</tr>
</form>
</table>
<?
}
else
{
echo "You do not have permission to edit this review";
}
}
else
{
echo "That review does not exist";
}
}
else
{
$query = "UPDATE animereview SET animeid='$animeid', staffid='$staffid', review='$review', animation='$animation', plot='$plot', character='$character', music='$music', value='$value', enjoyment='$enjoyment', date='$date' WHERE id=$id";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
echo "Review successfully edited";
}
?>
Now on my site it loads the correct information, such as the review, the plot score, etc, but when it comes time to submit I receive the error already mentioned.