Hi
I have this form:
<form action="modify.php" method="POST" enctype="multipart/form-data">
<?
$sql = "SELECT * FROM table Where id_cat=".$_POST['id_cat'];
$result = mysql_query($sql);
while ($row=mysql_fetch_array($result))
{
print 'Category<input type="text" name="nume_categorie"
value="'.$row['category_name'].'"><br>Picture
<input name="modify_picture" type="checkbox" id="modify_picture" value="check">';
}
?>
<input name="submit" type="submit" value="Modify">
</form>
All i wanna do is to modify picture only if the modify_picture checkbox is checked.
How can i do that?
thanks