Hi,
I'm fairly new to MySQL and learning as I go, generally speaking so far so good.
At present I have a question to which I cannot find an answer, so I was hoping someone may be able to help me out.
For the site I am writing the user my apply to become a member (this is for a leadership forum) in doing so they have to supply a user name. I want to check the database to see if the user name is available and if it is great but if it is not then I need to tell the applicant.
I was hoping to do this without returning a bunch of data, for security reasons. I would like to be able to simply seek for the record based on the supplied user name and return true if it's there and false if it's not.
What is the syntax for this? I used to write Visual FoxPro databases and it was simply
llRecordThere = seek(username, tablename, indexname)
and that did the trick. Is there something similar in MySQL?
Many thanks
Nathan