I have an input :
<input type="text" name="input['.$opt_id.']">
and I can get $opt_id
value on php side with :
foreach ($_POST['input'] AS $key => $value)
{
$opt_id=$value;
}
but I want to get second value like this :
<input type="text" name=input"['.$opt_id.']['.$lang_id.']">
How can I get $opt_id
and $lang_id
? I want to insert them on different columns in the database.