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

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

305 mg of C6H12O6 in 55.2 mL of solution whats the molarity

Answered: 1 week ago