Forum Moderators: open
$host = "localhost";
$password = " ";
$database = "cars";
$connection = mysql_connect ("localhost", "root", "")
or die("Could not connect to localhost");
$db = mysql_select_db ($database, $connection)
or die (" could not connect to database");
$name = $_POST['name'];
$address = $_POST['address'];
$email = $_POST['email'];
$telephone = $_POST['telephone'];
$comments = $_POST['comments'];
$delivery = $_POST['delivery'];
$breads = $_POST['breads'];
mysql_query($query) or die(mysql_error());
mysql_close($connection)
?>