NFC tag, how to implement "OR" logic

desired goal:
the phone touches the tag, and the logic in the tag is "if the phone has an APP, installed, wake up this APP, or open a specified web page."
can the NFC tag take logic? ask for help.

Mar.21,2022
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40b22-2c560.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40b22-2c560.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?