User Registration Part 6 - English

6027 visits



Outline:

User Registration Part 6 Checking the username provided so that condition for duplicate username can be avoided. mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - This is used to run specific queries on our database. Here it checks if username already exists in database. mysql_num_rows('query') - This function is used to counts no of rows retieved from the query. strtolower(string) - converts all characters of string into lower case.