![]() |
PHP & MySql |
Back again.
I suggest you learn about creating database and DML first , before take step in this post.
First you need to make connection to database and php file. The code is below :
<?php
$conn = mysql_connect("localhost","root","") or die("server down");
$db = mysql_select_db("inventory",$conn) or die("database dont exist");
?>