Answered step by step
Verified Expert Solution
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, 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started