h my sql and php code, Please create a sql chart that macthes the picture and php code to match, i am running through xampp SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; START TRANSACTION; SET time_zone = "+00:00"; -- Add user account: User ID: ecpi_user Password: Password1 CREATE USER 'ecpi_user'@'%' IDENTIFIED VIA mysql_native_password USING '*7EE969BBE0A3985C8BFF9FA65A06345C67FE434A'; GRANT ALL PRIVILEGES ON *.* TO 'ecpi_user'@'%' REQUIRE NONE WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; -- Database: cis224_wk3gp

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

i need help with my sql and php code, Please create a sql chart that macthes the picture and php code to match, i am running through xampp

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";

-- Add user account: User ID: ecpi_user Password: Password1
CREATE USER 'ecpi_user'@'%' IDENTIFIED VIA mysql_native_password USING '*7EE969BBE0A3985C8BFF9FA65A06345C67FE434A';
GRANT ALL PRIVILEGES ON *.* TO 'ecpi_user'@'%' REQUIRE NONE WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;

-- Database: cis224_wk3gp
CREATE DATABASE IF NOT EXISTS cis224_wk3gp DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
USE cis224_wk3gp;

-- Table structure for table userinfo
DROP TABLE IF EXISTS userinfo;
CREATE TABLE userinfo (
  UserNo int(11) NOT NULL,
  FirstName varchar(25) NOT NULL,
  LastName varchar(25) NOT NULL,
  EMail varchar(50) NOT NULL,
  FavoriteNum int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

-- Data for table userinfo
INSERT INTO userinfo (UserNo, FirstName, LastName, EMail, FavoriteNum) VALUES
(1, 'Admin', 'Administrator', 'admin@admin.com', 0),
(2, 'James', 'Schmidt', 'jamsch9391@students.ecpi.edu', 0),
(3, 'Joe', 'Smith', 'jsmith@joe.com', 42),
(4, 'Jane', 'Jones', 'jjones@jane.com', 7);

-- Indexes for table userinfo
ALTER TABLE userinfo
  ADD PRIMARY KEY (UserNo);

-- AUTO_INCREMENT for table userinfo
ALTER TABLE userinfo
  MODIFY UserNo int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
COMMIT;

Your Name Midterm
localhost/224_midterm/addresses.php
Address First Name
Your First
Captain
Enter your first name: (
Enter your last name:
Enter your street address:
Enter your city:
Enter your state:
Enter your zip code:
Add User
Last Name
YourLast
Ahab
Street Address
123 Your Street Address
123 Moby Street
City State
You
Atlantic
VA
8
Zip Code
12345
12345
Edit
Lait
Delete
Delete
0
a
B
Transcribed Image Text:Your Name Midterm localhost/224_midterm/addresses.php Address First Name Your First Captain Enter your first name: ( Enter your last name: Enter your street address: Enter your city: Enter your state: Enter your zip code: Add User Last Name YourLast Ahab Street Address 123 Your Street Address 123 Moby Street City State You Atlantic VA 8 Zip Code 12345 12345 Edit Lait Delete Delete 0 a B
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY