You are on page 1of 1

Exercise

1. Create a MySQL database named examples by importing the file examples.sql in phpMyAdmin (defa lt path! http!""lo#alhost"phpmyadmin" $. %. &rite a &ebsite that establish a #onne#tion to database examples' then se q eries to implement all the follo(ing feat res! ) ) ) ) Note: +ata ,alidation! id ! n mber name ! string' min length! -' max length! ./ year ! n mber' ,al e range! 100/ ) %/11 List all re#ords of table #ars. Add a ne( re#ord to table #ars (remember to #he#* all the ser inp t data before inserting$. Modify a sele#ted re#ord from table #ars. +elete sele#ted re#ord from table #ars.

You might also like