mc136 Posted February 12, 2007 Share Posted February 12, 2007 Have used the following code but when coming to create the form i'm stuck as to what to put into the S_POST e.g. have tried $check = $_POST[$value_of_parent['qName'] . $key_of_child] but this will not post anything to the database. Please help echo "<td><input type='text' name='" . $value_of_parent['qName'] . "[" . $key_of_child . "]' size='1'></td>"; Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted February 12, 2007 Share Posted February 12, 2007 <input type='text' name='" . $_POST['qName'] . "[" . $key_of_child . "]' size='1'> Is this? Quote Link to comment Share on other sites More sharing options...
mc136 Posted February 12, 2007 Author Share Posted February 12, 2007 hi nudie what you asking?? the code you mentioned is part of a form. Quote Link to comment Share on other sites More sharing options...
sasa Posted February 12, 2007 Share Posted February 12, 2007 try $check = $_POST[$value_of_parent['qName']][$key_of_child] Quote Link to comment Share on other sites More sharing options...
mc136 Posted February 12, 2007 Author Share Posted February 12, 2007 Hi thanks but when I run it it deleted oe of the columns (no big deal). Need i do anything with the formpart <input.....> $check = $_POST[$value_of_parent['qName']][$key_of_child] cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.