Come ho scritto sopra il value del checkbox è corretto (quello riportato sotto è un errore di copia)
Originariamente inviato da telegio
l'output di questo?
il value del checkbox è un numero o è nullo? ..non credo che sia per l'errore "ech" invece di echo.. spero che nel tuo script hai scritto bene..Codice PHP:
<form action="pagina_che_esegue_delete.php" method="post">
<?php while($row=mysql_fetch_array($result)) { ?>
<input type="checkbox" name="id_delete[]" value="<?php ech $row['id']; ?>" />
<?php
} // fine ciclo while
?>
<input type="submit" value="elimina" />
</form>![]()