Create a sql database, PL-SQL Programming

The requirements as follows:

Create a folder called "SECURITY" on the server and upload all your project files to that folder. Please note, the "SECURITY" folder is NOT to be INSIDE ANOTHER FOLDER. REQUIREMENTS FOR SITE

 SERVER SIDE :You have been given a blank database in phpMyAdmin called securityxx which you will need to use for this work. Services · Make the information about the Guard Services page (guards.html) database driven. · Create a table called tblServices · Add appropriate fields to hold relevant information as per the guards.html example.

  • The client would like to "spice" this page up a little by putting appropriate photo's next to each section.

 o It is your job to source the photo's.

 o The photo URL's must come from the database

Administration

  • Add a subtle login link at the bottom of the home page.
  • The login will check for correct username and password.
  • A table of administrators,called tblAdmin, must be created with usernames and passwords ONE of which MUST BE YOUR CLASS USERNAME AND PASSWORD, for example, line1,jaguar20

Administrators, who have correctly logged in, can access an admin menu that will enable them to o update/change the data in tblServices.

o Add a new service to Use javascript to check that fields have correct information

o Delete an existing service

o View the tblCheckUpload as a table with the name of the admin who changed the file and the date/time last modified o Add a new administrator

o The admin section should be secured using session management

o Logout for administrator section

  • Administrators can also exit to the home page at any time

. Check Table · Create a table called tblCheckUpload

· This table should include fields for

o Who added altered or deleted data

o Date and time info was altered .

The Mysql database structure:db name:security01

tblServices

Field                          Type     Null       Default             Comments

sr_ID                          int(11)       No                     

sr_title               varchar(50)        No                     

sr_description   varchar(50)        No                     

sr_image           varchar(50)        No                     

tblCheckUpload

Field                             Type           Null       Default             Comments

ch_checkuploadID         int(50)       No                     

ch_date                varchar(50)        No                     

ch_time                varchar(50)        No                     

ad_ID                   varchar(50)        No                     

sr_ID                    varchar(50)        No                     

tblAdmin

Field                          Type          Null       Default             Comments

ad_ID                      int(11)         No                     

ad_username           int(50)        No                     

ad_name           varchar(50)        No                     

ad_address       varchar(50)        No                     

ad_phone         varchar(50)        No                     

ad_email           varchar(50)        No                     

ad_password    varchar(50)        No

Posted Date: 3/15/2013 2:52:06 AM | Location : United States







Related Discussions:- Create a sql database, Assignment Help, Ask Question on Create a sql database, Get Answer, Expert's Help, Create a sql database Discussions

Write discussion on Create a sql database
Your posts are moderated
Related Questions
Package STANDARD package named STANDARD defines the PL/SQL atmosphere. The package specification globally declares the exceptions, types, and subprograms that are available a

Example of Tables within a Table - SQL Example: Obtaining C_ER from COURSE and EXAM_MARK SELECT CourseId, CAST (TABLE (SELECT DISTINCT StudentId, Mark FROM EXAM_MARK AS EM

Data Types in SQL - Character CHARACTER or, synonymously, CHAR, for character strings. When this type is to be the declared type of something (e.g., a column), the permissible

Updating Variables For assignment, SQL uses the key word SET, as in SET X = X + 1 (read as "set X equal to X+1") rather than X: = X + 1 as found in many computer languages.

Initial thought process: Design a script which was simple and user friendly. Integrate procedures/functions to extract data under the hood. I focused on giving the user the opt

Scope Rules You cannot declare an exception twice in the similar block. Though, you can, declare the similar exception in 2 different blocks. The Exceptions declared in a bloc

%ROWTYPE: This attribute gives a record type which represents a row in the database table or a row fetched from a formerly declared cursor. The Fields in the record and corresp

Using Invoker Rights: By default, the stored procedure executes with the privileges of its definer, not its invoker. These procedures are bound to the schema in which they inh

Overview of control structures According to the structure theorem, any computer program can be written by using the basic control structures as shown in figure below. They can b

At times, Brewbean's has changed the id number for existing products. In the past, they have had to add a new product row with the new id to the BB_PRODUCT table, modify all the co