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>"; Link to comment https://forums.phpfreaks.com/topic/38112-_post-help/ 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? Link to comment https://forums.phpfreaks.com/topic/38112-_post-help/#findComment-182496 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. Link to comment https://forums.phpfreaks.com/topic/38112-_post-help/#findComment-182497 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] Link to comment https://forums.phpfreaks.com/topic/38112-_post-help/#findComment-182498 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 Link to comment https://forums.phpfreaks.com/topic/38112-_post-help/#findComment-182503 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.