Site icon DataFlair

How to Run a PHP File using XAMPP

Program 1

<html>
<body>
    <center>
<pre>

<?php
             $mycon=mysqli_connect("localhost","root","","Library"); 
             echo "Connection done successfully.................";
              

?>
</pre>
</center>
</body>
</html>

 

Exit mobile version