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

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!