All I am trying to do is take the information in my database and display it in a table. It would be nice to also put a button next to each entry that can remove it though. I keep getting an unexpected t_string on line 21. I am aware that that can mean anywhere before or after it, so have looked over the whole code repeatedly. Could someone please check this out and offer me some pointers?
<?php
$title="Waiting List";
include(header.inc);
$link = mysql_connect($location, $user, $password);
$db = "project";
mysql_select_db($db, $link);
function display_db_table()
{
$result = mysql_query("SELECT * FROM checkin");
$column_count = mysql_num_fields($result);
echo“<TABLE BORDER=1>\n”;
while ($row = mysql_fetch_row($result))
{
print(“<TR ALIGN=LEFT VALIGN=TOP>”);
for ($column_num = 0; $column_num < $column_count;$column_num++)
{
print(“<TD>$row[$column_num]</TD>\n”);
print(“</TR>\n”);
}
}
print(“</TABLE>\n”);
}
?>
<HTML>
<BODY>
<TABLE><TR><TD>
<?php display_db_table(); ?>
</TD><TD>
</TD></TR></TABLE></BODY></HTML>