Write a PHP program to read Student Data from an XML file and store into the MySQL database .
Using mysql functions and reading XML data from PHP
<?php
$xmlDoc = new DOMDocument(); // creating an object of DOMDocument class
$xmlDoc->load("Student_details.xml"); // reading data from the XML file
?>ℹ️ Make sure you use the file 'fix_mysql.inc.php' to replace mysqli commands.
- Fork on download in a zip file and extract in your local machine.
- Copy this folder into C:/wamp64/www/
- Start apache server using WAMP or XAMPP.
- Open MYSQL console and follow this video to create database and table.
- Open browser of your choice and enter localhost/Program-5
