Moderator: General Moderators
kwh01 wrote:it will insert into my table, but sadly, none of the value is retrieved. therefore my table show all blank
social_experiment wrote:The checkbox name is $_POST['stusubject']; you correctly loop through the array but fail to enter the values into the database. All the data from this form; is it for one student?
social_experiment wrote:Firstly the question about the checkboxes: A check box only has 1 value attribute; you can populate that with data of your choosing
kwh01 wrote:it inserted 2 rows at once. hmm. cannot figured it out why