logo

Code Functionality and Description

   

Added on  2022-08-23

5 Pages688 Words46 Views
Code functionality and description
Name
Institution
Professor
Course
Date
Code Functionality and Description_1
Website creation involved preparation of the development environment and a series of
steps to consolidate the entire project. Xampp was installed to our personal computers and a code
editor notepad++. Xampp has both PHP interpreter and MYSQL database to support database
development. CSS was used to style and position the both JavaScript and HTML elements. The
code explanation would be done in blocks and about the functionality of each piece of code.
The database was created in MYSQL which involved creating a database named "flower_order”,
followed by tables required to support business operations. The database was created through
MYSQL in PhpMyAdmin from Xampp. The database is connected to a local host database
server to support local testing of the website. The codes in the database script file are used for
creating tables and inserting data into the tables. A select query is created in PHP scripting to
facilitate data insert and retrieval into and from the database tables respectively.
The explanation of the code starts with the connection.php which connects the database and the
website. The connection makes it possible to send and retrieve data to and from the database.
The index page starts with user session creation code which is used to assign any user a session
to the website. The next piece of code is CSS used for styling HTML elements and images such
as links and buttons. Links are used for navigation within the website. Notably, it has JavaScript
code which is used to scroll and animate images horizontally across the page.
Code Functionality and Description_2

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Concepts of Web Application Development : Assignment
|12
|4610
|499

Code Snippets of Garden Center Online Shopping
|24
|3944
|220

Photographs and Accepts Uploaded Photographs
|5
|2266
|500

Database Structure in Mysql Admin
|4
|975
|311

Web Information System: Online Job portal
|6
|1143
|476

Dynamic Web Programming: Creating a RESTful JSON back-end API using PHP
|6
|547
|114