I'm not sure why it's not working then. This is all of my code. It's been working fine until I tried to put the table in the echo statement below. Do you see anything that looks wrong? I now that the code above the echo works...thanks.
<html>
<head>
<?php
include 'misc.inc';
include 'head.asp';
$name = $HTTP_POST_VARS['name'];
/ connect to server(mysql) with pconnect for persistent
connection, not to close then reconnect /
mysql_pconnect("$host","$user","$password")
or die ("Couldn't connect to the server.");
/ connect to db (seattlebands) /
mysql_select_db("seattlebands")
or die ("Couldn't connect to the database.");
/ add row to table 'promoters' and insert input values /
$query = "INSERT INTO promoters (
lname,
fname,
contact,
namePromoCo,
ownPromoCo,
diffThanName,
bandShowBooked,
bandTourBooked,
venueBook,
favGenre,
favBands,
favVenues,
rate,
workWithNew,
venueLikeNew,
bandDrawNeeded
)
VALUES (
'$lname',
'$fname',
'$contact',
'$namePromoCo',
'$ownPromoCo',
'$diffThanName',
'$bandShowBooked',
'$bandTourBooked',
'$venueBook',
'$favGenre',
'$favBands',
'$favVenues',
'$rate',
'$workWithNew',
'$venueLikeNew',
'$bandDrawNeeded'
)";
$result = mysql_query($query)
or die (mysql_error());
/ THIS IS WHERE THE PROBLEM IS /
echo
'<table width="500" cellpadding="0" cellspacing="0" border="0">
<td>Thank you, you/'ve
been added to the promotions database.</td>\';
include 'bottomnav.asp';
include 'footer.asp';
?>
</body>
</head>
</html>