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, eg John Doe jdoe@abc.coza efeaceafbc 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 recreate 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
