Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a connection to the clothesStore database: Create a text file userData.txt and populate the text file with at least five fictitious entries, e .

Create a connection to the clothesStore database: Create a text file userData.txt and populate the text file with at least five fictitious entries, e.g., John Doe j.doe@abc.co.za 29ef52e7563626a96cea7f4b4085c124. C. Use the console or phpMyAdmin and load the text file manually into the table. The code that creates the connection must be saved in a file called DBConn.php. Create a script called createTable.php that will check if the tblUser exists and if it does, delete the table and (re)create the table and load the data into the table using userData.txt file as a source file. Embed the DBConn.php as an include file within the createTable.php script. Each time the script is executed the table will be deleted if it exists

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

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

What is CIA? Describe each one briefly.

Answered: 1 week ago