create mysql database using php
<?php
$servername="localhost";
$username="root";
$password="";
$conn=mysqli_connect($servername,$username, $password);
$sql="CREATE DATABASE shrisha";
mysqli_query($conn,$sql);
mysqli_close($conn);
?>
<?php
$servername="localhost";
$username="root";
$password="";
$conn=mysqli_connect($servername,$username, $password);
$sql="CREATE DATABASE shrisha";
mysqli_query($conn,$sql);
mysqli_close($conn);
?>
Comments
Post a Comment