PHP SQLITE - How to insert new records and update existing records conditionally -
trying wrap head around this. posting data sqlite db , insert records if not exist, , update existing records if requirements met (basically if 1 field has changed values). not sure how this. i've seen examples using on duplicate key, updates records when there duplicate. need check change before updating.
any ideas?
Comments
Post a Comment