Here i\'m trying to edit & update my dynamic row values using php. This is my edit.php page coding. it fetch the dynamic row datas from mysql perfectly..
$ui
As per your comment: for example if user want to edit a voucher. in that voucher already contains 5 rows. user can edit their row values and if they want add two more rows...
then try this.
first delete the old data and then insert new one.
$deletequery = "delete from `ebvouchertariffs` WHERE VoucherID_Fk = '$uid' ";
and then insert new data.
foreach( $_POST['slno'] as $key=>$slno ) {
$insertquery = "insert into `ebvouchertariffs`.......";
}