Вы находитесь на странице: 1из 2

JIGJIGA UNIVERSITY Dept. of Comp.Sc.

Advanced Website Development - COMP 531


LAB MANUAL
(Specify, design, and implement an e-commerce application using HTML, XHTML,
CSS, JavaScript, PHP & MYSQL.)
About PHPMyAdmin
The tool phpMyAdmin, available from http://www.phpmyadmin.net/, allows us to
administer a MySQL database through web browser. All thats required is a web server with
PHP installed and a MySQL database to administer. This can be done by installing WampServer
in Windows.
phpMyAdmin is an open source web interface that handles the administration of
MySQL. It can perform various tasks such as creating, modifying, or deleting databases,
tables, columns, or rows. It can also execute SQL statements or manage users and their
permissions.
phpMyAdmin (official home page at http://www.phpmyadmin.net) is a web application
written in PHP; it contains (like most web applications) XHTML, CSS, and JavaScript client code.
This application provides a complete web interface for administering MySQL databases, and is
widely recognized as the leading application in this field.
phpMyAdmin offers features that cover basic MySQL database and table operations. It
also has an internal system that maintains metadata to support advanced features. Finally,
system administrators can manage users and privileges from phpMyAdmin. It is important to
note that phpMyAdmin's choice of available operations depends on the rights the user has on
a specific MySQL server.
Further information about phpMyAdmin is available on the home site's documentation
page, located at http://www.phpmyadmin.net/home_page/docs.php. Moreover, the
development team, helped by the community, maintains a wiki at http://wiki.phpmyadmin.net.
About MySQL
MySQL, which is mostly compliant with the SQL:2003 standard, is a database system well known for its
speed, robustness, and a small connection overhead. This is important in a web context where pages must be served as
quickly as possible.
About PHP
PHP, usually installed as a module inside the web server, is a popular scripting
language in which applications are written to communicate with MySQL (or other database
systems) on the back end and browsers on the front end. Ironically, the acronym's
significance has evolved along with the web evolution, from Personal Home Page to
Professional Home Page to its current recursive
definitionPHP: Hypertext Preprocessor. PHP is available on millions of web domains and
powers famous sites such as Facebook, Yahoo!, YouTube, and Wikipedia.
About WampServer
It is a bundle software that installs Apache, MySQL, and PHP in Windows operating
system along with PHPMyAdmin .
LAB ASSIGNMENTS
Back-End (MySQL) Processing
1. Create a stores database that contains the following tables.
Customers(cno,cname,caddress);
Products(pno,pname,pcost);
Orders(cno,pno,qty);
2. Create a foreign key relationship between Customers and Orders tables
3. Create a foreign key relationship between Products and Orders tables
4. Insert some values into the above tables.

5. Create an excel sheet that contains some tuples for the above tables and import them into
the stores database.
6. Secure the stores database by creating an administrator login and password
7. Export the stores database to .SQL or .XML file
Front-End(PHP) Processing
8. Create a home-page and Contact-Us pages for the above stores website.
9. Create forms for displaying, searching, inserting, updating and deleting records in the
above tables.
10.Create Login and Registration forms for Customers table
11. Create Order-Entry form for Orders table.

Вам также может понравиться