Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help coding PHP HTML CSS assignment. INSTRUCTIONS Create a PHP form that allows update of the organizational charts data. The form should include

I need help coding PHP HTML CSS assignment.

INSTRUCTIONS Create a PHP form that allows update of the organizational charts data. The form should include a drop-down field with everyone from the organizational chart assignment. The form should also include the fields that match everyones web page in the organizational chart assignment. For example, fields could include job, department, and interests from the prior assignment. The form needs to include each of these in addition to a drop down to select the person. Use proper form validation for each form. Upon submission of the form, the user should be redirected to a web page based upon the drop-down selection. The web page of each individual should now display updated results from the information entered into the form. For example, if a new goal was written in the goals field on the form, it should be appended to the goals section of the individuals page. You are allowing someone to enter new information and posting this to a new individuals page.

So I made an employee directory before this for an earlier assignment. https://razorlovestocode.com/EmployeeChart.php then when you clicked on "more information" you would go to that employee pages page. BUT all in all, I had the code pull all the employee information variables from one file called Variables.php. I put those that code here. I need to do what the instructions say above but when it says 'update the organizational chart's data" I thnk it means the Variables.php variables. I would like the "employees" to be able to change their hobby and maybe add new variables like current project (for example $rachel_project = "Currently working on expanding our inventory!"). But don't worry about the username and password. Variables.php

//Rachel Brinkley variables

$rachel_name = "Rachel Brinkley";

$rachel_jobTitle = "CEO";

$rachel_department = "Management";

$rachel_degree = "MBA";

$rachel_hobby = "Baking";

//Charles Brinkley variables

$charles_name = "Charles Brinkley";

$charles_jobTitle = "CFO";

$charles_department = "Finance";

$charles_degree = "BA in Accounting";

$charles_hobby = "Wood Craftsman";

//Christopher Kelly variables

$kelly_name = "Christopher Kelly";

$kelly_jobTitle = "IT Manager";

$kelly_department = "Information Technology Department";

$kelly_degree = "BA in Information Technology and Minor in Computer Engineering";

$kelly_hobby = "3D printing";

//Sharon Brinkley variables

$sharon_name = "Sharon Brinkley";

$sharon_jobTitle = "Head Sales Rep.";

$sharon_department = "Sales Departmnet";

$sharon_degree = "BA in Marketing";

$sharon_hobby = "Going to the beach and laying in the sun.";

//Collin Miller variables

$collin_name = "Collin Miller";

$collin_jobTitle = "Sales Rep.";

$collin_department = "Sales Departmnet";

$collin_degree = "BA in Mechanical Engineering";

$collin_hobby = "Hiking";

//Carol Martin variables

$carol_name = "Carol Martin";

$carol_jobTitle = "Machine Mechanic Manager";

$carol_department = "Machine Shop";

$carol_degree = "BA in Mechanical Engineering";

$carol_hobby = "Spending time with her daughters and husband.";

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions