Update LifeDB_new.php

split query based on AND operation method added