php how to check if a value in a database equals to something code example
Example: mysql check if value exists
mysql> SELECT EXISTS(SELECT * from ExistsRowDemo WHERE ExistId=105);
mysql> SELECT EXISTS(SELECT * from ExistsRowDemo WHERE ExistId=105);