PHP
Now you have two problems. with MySQL
Now you have three problems. $SQLstring not escaped
Now you have infinite problems. What do I have to echo to get it to print out the entire table? (It's only 4 entries)
Forget it, it's NP-complete.
I got it... there is no magical command to print an entire table, I need to step through each row with a loop, and print the contents of that row, specifying each table element for the columns:
$Row = mysql_fetch_row($QueryResult);
echo "<TR><TD>FanID</TD><TD>Name</TD><TD>City</TD><TD>Email</TD></TR>";
do
{
echo "<TR><TD>{$Row[0]}</TD><TD>{$Row[1]}</TD><TD>{$Row[2]}</TD><TD>{$Row[3]}</TD></TR>";
$Row = mysql_fetch_row($QueryResult);
} while ($Row);
Name:
Anonymous2010-12-16 9:03
Forgot the line breaks and spaces, but you get the idea