![Page 1: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/1.jpg)
Multimedia Festival Registration
![Page 2: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/2.jpg)
Creation of database tables Student table Project table Criteria table
![Page 3: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/3.jpg)
Input Validation for Important Fields Error message provided for missing fields. Regular Expression validation for Email ID
& Phone Number.
![Page 4: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/4.jpg)
US Phone Number ValidationIf ($phone ne "") { if ($phone !~ /^\((\d{3})\)|(\d{3})-?(\d{3})-?(\d{4})$/) { $validphone = 1; }}
![Page 5: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/5.jpg)
Email Validationif ($email ne "") { if ($email !~ /^\w+([\-+.]\w+)*@\w+([\-.]\w+)*\.\w+([\-.]\w+)*$/) { $validemail = 1; }}
Example: [email protected]
Matches name before @ symbol
Matches email domain name
after @ symbol
Matches email domain suffix
(.com, .net, etc.)
![Page 6: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/6.jpg)
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.
![Page 7: Multimedia Festival Registration. Creation of database tables Student table Project table Criteria table](https://reader038.vdocuments.net/reader038/viewer/2022100423/5a4d1b5d7f8b9ab0599aba29/html5/thumbnails/7.jpg)
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.