multiple entry in SubForm from Master form using PHPRad May 25, 2023, 01:56:49 PM Hello @willvin My SQL dataSuggestion NeededTablestable - itemsfields - id,quote_no,charge,rate,qtytable-quotefields - id,quote_no,client_name,remarks--------------------Master Form - quoteSub Form - Items--------------------Page Events AfterAdd in quote formfor ($i = 0; $i < count($allmodeldata); $i++) { $table_data = array( "id" => $id[$i] + $allmodeldata[$i]['id'], "charge" => $charge[$i] + $allmodeldata[$i]['charge'], "rate" => $rate[$i] + $allmodeldata[$i]['rate'], "qty" => $qty[$i] + $allmodeldata[$i]['qty'] ); $db->where("id", $allmodeldata[$i]['id']); $db->update("item", $table_data);}----------------------------------------------------Suggest me Errors message in submitting data . Quote Selected