User Registration Part 6 - English

Play
Current Time 0:00
/
Duration Time 0:00
Remaining Time -0:00
Loaded: 0%
Progress: 0%
0:00
Fullscreen
00:00
Mute
Captions
  • captions off
  • English

6944 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.