I have a form with some generated input fields like theese:
<input value="March" name="month[March]" type="hidden">
<input value="April" name="month[April]" type="hidden">
<input value="May" name="month[May]" type="hidden">
I need to add the data from each input to mysql, but i don`t know how if they have name[monthname].The table structure is id, name and month_name. So i need to add the input data to month_name column. Thanks!
CREATE TABLE
statements) and (if appropriate) sample data (asINSERT ... VALUES
statements). See Writing the Perfect Question for more.