User Registration Part 6 - English
PHP and MySQL Tutorials - English 25
-
1Simple Visitor Counter
-
2PHP String Functions Part 1
-
3PHP String Functions Part 2
-
4File Upload Part 1
-
5File Upload Part 2
-
6Cookies Part 1
-
7Cookies Part 2
-
8Sessions
-
9MD5 Encryption
-
10Sending Email Part 1
-
11Sending Email Part 2
-
12Sending Email Part 3
-
13Display Images from a Directory
-
14User Login Part 1
-
15User Login Part 2
-
16User Login Part 3
-
17User Password Change Part 1
-
18User Password Change Part 2
-
19User Password Change Part 3
-
20User Registration Part 1
-
21User Registration Part 2
-
22User Registration Part 3
-
23User Registration Part 4
-
24User Registration Part 5
-
User Registration Part 6
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.
Assignment
Status: