Here is one problem I ran into. On my edit.php (to edit the news story) here is my $query:
$query = "UPDATE story SET headline = '$headline', byline = '$byline', author = '$author', story = '$story', timestamp = NOW() WHERE id = '$id'";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
Here is how I draw the data into the right fields:
<tr>
<td valign="top"><b><font class="midText">Headline</font></b></td>
<td><input size="50" maxlength="250" type="text" name="headline" value="<?php echo $row->headline; ?>"></td>
</tr>
How do I do this for the 'live' radio buttons? They really don't need to be checked if that is what they were selected previously, just more curious in how to save them? Should I run another query?