Xoops Development::Inserting multiple rows in database table
Thank you Mamba
I will do so because I think that the data is not sent from the file tables.php
Code of case 'save':
Thank you Mamba
I will do so because I think that the data is not sent from the file tables.php
Code of case 'save':
if( $tablesHandler->insert($obj) ) {
if( $obj->isNew() ) {
$table_iid = $GLOBALS['xoopsDB']->getInsertId();
$table_action = '&field_mid='.$table_mid.'&field_tid='.$table_iid.'&field_numb='.$table_nbfields.'&field_name='.$table_fieldname;
redirect_header('fields.php?op=new'.$table_action, 5, sprintf(_AM_TDMCREATE_TABLE_FORM_SAVED_OK, $_POST['table_name']));
} else {
redirect_header('tables.php', 5, sprintf(_AM_TDMCREATE_TABLE_FORM_UPDATED_OK, $_POST['table_name']));
&nbs...