Web server - BLOG DESIGN SOLUTIONS Archive

BLOG DESIGN SOLUTIONS

Archive

\n”; do { $post_id = $myposts[”post_id”]; $title = $myposts[”title”]; $summary = $myposts[”summary”]; echo “

. $title

\n”; echo “

$summary

\n”; } while ($myposts = mysql_fetch_array($result)); echo “

“; } break; case false: $previousyear = “”; if($myposts) { do { $year = $myposts[”year”]; $month = $myposts[”month”]; $monthyear = $myposts[”monthyear”]; $count = $myposts[”count”]; if ($year != $previousyear) { if ($previousyear != “”) { echo “

\n”; } echo “

$year

“; echo “

    \n”; $previousyear = $year; } $plural = ($count==1) ? “” : “s”;

Leave a Reply