"; } else { echo ""; } //This cycles through the posts from a database and posts them to the page $strSQL = "SELECT * FROM table1 ORDER BY column1 DESC"; $result = mysql_query($strSQL) or die ('SQL syntax error: '.mysql_error()); while ($row = mysql_fetch_array($result)) { echo "
\n"; echo "
\n"; echo "

" . $row['column3'] . "

\n"; echo "" . $row['column4'] . "\n"; echo "
\n"; echo "

" . $row['column5'] . "

\n"; } ?>