IF EXISTS SELECT FROM adminEnter WHERE ip 127 UPDATE adminEnter SET tr

1
IF EXISTS (SELECT * FROM `adminEnter` WHERE `ip`='127.0.0.1') UPDATE `adminEnter` SET `try` = `try` + 1 WHERE `ip`='127.0.0.1' ELSE INSERT INTO `adminEnter` (`ip` ,`try`) VALUES ('127.0.0.1', '1');