Can ne1 tell me what is wrong with this code pls:
The error i keep getting says:PHP Code:<html>
<head><title>Web Database Sample Inserting</title>
</head>
<?php
include ("connect.php");
?>
<body bgcolor=#ffffff>
<?
if (isset($band) && isset($song) && isset($album)) {
$query = "INSERT INTO music VALUES ('$band', '$song', '$album')";
$result = mysql_db_query("divinekorn", $query);
if ($result) {
echo "<p>$band was added to the database</p>";
}
?>
<h1>Add an entry</h1>
<form method="post">
Name:
<input type=text name='name'><br>
Phone: <input type=text name='phone'><br>
<input type=submit>
</form>
<p><a href="index.php">Back to index</a>
</body>
</html>
Parse error: parse error in /web/sites/261/lukusdesigns/www.lukusdesigns.f2s.com/add.php on line 29
Line 29 is the </html> part of the script
help wud be very much appreciated
thanks




Bookmarks