Tag Archives: php mysql

Create Database and Tables in PHP MySQL




As We know database holds one or multiple tables. Here in this post you will learn how create database tables in Mysql Create a Database We use the CREATE DATABASE statement to create a database in MySQL. Syntax CREATE DATABASE database_name To get PHP to execute the MYSQL statement we must use the mysql_query() function. This function is used to send a query or command to a MySQL connection. For Example The following example creates a database called “school_database”: <?php […]