Making two columns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am needing help changing this code so the result of the mySQL query will display in two columns with the CSS tags around it.  The number of records being displayed is based on the mySQL query and will increase as more poetry is added to the site.

echo "<div class=\"poetry_lists_container\">\r\n";
echo "<ul class=\"lists\">\r\n";

$i=0;
while ( $i < $number_of_records ) {
echo "<li><a href=\"http://www.the-lords-haven-online.info/poetry/"; . stripslashes(mysql_result($poems_result,$i,"pieces.reference")) . "/\">" . stripslashes(mysql_result($poems_result,$i,"pieces.title_of_piece")) . "</a></li>\r\n";
++$i;
}

echo "</ul>\r\n";
echo "</div>\r\n"

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux