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

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Java JSoup error fetching URL -

webstorm - PhpStorm file cache conflict with TypeScript compiler -