I need to do a select comparing whether user login is already existent or not. But I do not want it to return me values from the table, just a symbolic value to check for existence (true or false). The comparison code is the basics:
SELECT * FROM USUARIOS WHERE LOGIN = '$LOGIN'
$ LOGIN being the login I'm going to compare. And select will return all table contents unnecessarily.