Question: populate / insert data for your table via phpmyadmin modify the DBContact.php to show the newly populated content in your database table Here is my
populateinsert data for your table via phpmyadmin
modify the DBContact.php to show the newly populated content in your database table Here is my DBContact.php file: connecterror
dieConnection failed: $connconnecterror;
Query to database with table name contacts
$result $connquerySELECT FROM contacts";
Display the result
if $resultnumrows
Output data of each row
while $row $resultfetchassoc
echo "Name: $rowname;
echo "Email: $rowemail;
echo "Phone: $rowphone;
else
echo results";
Close connection
$connclose;
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
