$query ="UPDATE template SET Qty = " . $_SESSION['QTY'][$I] . " WHERE id = $i+1";
The above did not work. I am trying to make my loop cover 1-40 records, by selecting the ID of the record. Record ID=0 is the problem. Can someone tell me how to increment the value of $i by 1. Thanks
The above did not work. I am trying to make my loop cover 1-40 records, by selecting the ID of the record. Record ID=0 is the problem. Can someone tell me how to increment the value of $i by 1. Thanks