I need an html table that outputs all the events in my database table and shows their id number, title, and timestamp. What would be the easiest way to do this? I was thinking something like:
$query = mysql_query("SELECT id,tile,content FROM calevents");
echo mysql_fetch_array($query);
while ($fetch = mysql_fetch_array($query))
{
echo $fetch[0];
echo $fetch[1];
{
But I'm not quite sure how I could get it to output into an html table.