Re: mysql table row updation based on user input.

From: Date: Sun, 18 Sep 2005 21:25:33 +0000
Subject: Re: mysql table row updation based on user input.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-222604@lists.php.net to get a copy of this message
Me thinks you have to name the checkboxes differently, otherwise the post variable will only take the last value it found, overwriting previous values. Otherwise they act like radioboxes.
        print "<TD style='border: 1pt solid black cell-padding: 3px'><input type='checkbox' name=\"id[]\" value=\"".$row["id"]."\"> </TD>";   


« previous php.general (#222604) next »