I need to show radio as checked if the array $row['featured']; = 1 if $row['featured']; = 0 don’t show as checked
here is the code
<?php
while($row = mysql_fetch_array($result))
{
?>
<tr>
<td width="6%" align="center"><input type="radio" name="features" value="<?php echo $row['featured']; ?>" /></td>
<td width="35%"><?php echo $row['job_title']; ?></td>
<td width="24%"><?php echo $row['category_name'] ?></td>
<td width="15%"><?php echo $row['job_location']; ?></td>
<td width="10%"><?php echo $row['status'] ?></td>
<td width="10%"><a href="job_edit.php?id=<?php echo $row['job_id']; ?>">Edit</a></td>
</tr>
<?php
}
?>
DEMO