Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a PHP page that obtains a URL and its description from a user and stores the information into a database using MySQL. The first

Write a PHP page that obtains a URL and its description from a user and stores the information into a database using MySQL. The first field on the webpage should contain an actual URL that the user inputs. The second field contains the description of the URL that the user enters. After each new URL/Description is submitted, a webpage will also print the contents of the database in a table. The example is here:

image text in transcribed

This is the code in URLs.sql file:

DROP DATABASE IF EXISTS URLs;

CREATE DATABASE URLs;

USE URLs;

CREATE TABLE urltable

(

ID int NOT NULL AUTO_INCREMENT PRIMARY KEY,

URL varchar(128),

description varchar(255)

);

2.(30\%) Create the database and import the table. download here: Write a PHP page that obtains a URL and its description from a user and stores the information into a database using MySQL The first field on the webpage should contain an actual URL that the user inputs. The second field contains the description of the URL that the user enters. After each new URL/Description is submitted, a webpage will also print the contents of the database in a table. The example is here

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_2

Step: 3

blur-text-image_3

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

Question

What is the indicative word limit?

Answered: 1 week ago