Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

19.9 Write a PHP script that obtains a URL and its description from a user and stores the infor- mation into a database using MysQL.

image text in transcribed

19.9 Write a PHP script that obtains a URL and its description from a user and stores the infor- mation into a database using MysQL. Create and run a SQL script with a database named URL and a table named Urltable. The first field of the table should contain an actual URL, and the second, which is named Description, should contain a description of the URL. Use www.deitel.com as the first URL, and input Cool site! as its description. The second URL should be www.php.net, and the description should be The official PHP site. After each new URL is submitted, print the con- tents of the database in a table. [Note: Follow the instructions in Section 18.5.2 to create the Url database by using the URLs. sql script that's provided with this chapter's examples in the dbscripts folder.]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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