Presentation is loading. Please wait.

Presentation is loading. Please wait.

Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table.

Similar presentations


Presentation on theme: "Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table."— Presentation transcript:

1 Multimedia Festival Registration

2 Creation of database tables Student table Project table Criteria table

3 Input Validation for Important Fields Error message provided for missing fields. Regular Expression validation for Email ID & Phone Number.

4 US Phone Number Validation If ($phone ne "") { if ($phone !~ /^\((\d{3})\)|(\d{3})-?(\d{3})-?(\d{4})$/) { $validphone = 1; }

5 Email Validation if ($email ne "") { if ($email !~ /^\w+([\-+.]\w+)*@\w+([\-.]\w+)*\.\w+([\-.]\w+)*$/) { $validemail = 1; } Example: abc-xyz.corp@mydomain.com Matches name before @ symbol Matches email domain name after @ symbol Matches email domain suffix (.com,.net, etc.)

6 Insert data into database Checks if the user is already present using the Mail ID If the user is already registered inserts data into project table as new project Else inserts data into project table and student table.

7 Future Considerations Create a two tier application as data tier and presentation tier. Data tier - connecting from database and creation of tables. Presentation tier – creating the form and providing input validation.


Download ppt "Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table."

Similar presentations


Ads by Google