SOURCE CODE:
<?php
$servername="localhost";
$username="root";
$password="";
$dbname="newDB;
//Create a connection($connect)
$connect=new mysqli("$servername","$username","$password","$dbname");
//Check the connection
new_tbl="CREATE TABLE info(
//columns
name VARCHAR(30) NOT NULL,
email VARCHAR(30)NOT NULL
);
$connect->close;
?>
<?php
$servername="localhost";
$username="root";
$password="";
$dbname="newDB;
//Create a connection($connect)
$connect=new mysqli("$servername","$username","$password","$dbname");
//Check the connection
new_tbl="CREATE TABLE info(
//columns
name VARCHAR(30) NOT NULL,
email VARCHAR(30)NOT NULL
);
$connect->close;
?>
Comments
Post a Comment