Question: 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.

 19.9 Write a PHP script that obtains a URL and its

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!