in your .php
<?php$con = mysql_connect("hostname","user","pass");if (!$con) { die('Could not connect: ' . mysql_error()); }//Create your databasemysql_query("CREATE DATABASE database-name ",$con);//Create your tablemysql_select_db("database-name", $con);$sql = "CREATE TABLE my_table(IssueId INT AUTO_INCREMENT PRIMARY KEY, ToolName VARCHAR(15) NOT NULL, Status VARCHAR(6))";//insertmysql_query("INSERT INTO my-table (IssueId, ToolName, Status) VALUES ('...', '...',...)")VALUES ('...', '...',...) ... VALUES('...','...','...')");