olmadı


alt alta sıraladı. kod aşağıda
<table border="1" cellpadding="0" cellspacing="0" width="160" bordercolorlight="#707070" bordercolordark="#707070" id="table1" height="180" style="border-width: 0px">
<tr>
<td style="border-style: dotted; " bordercolor="#C0C0C0"> <h2>Rastgele Bir konu </h2>
<div class="featured">
<?php
$sql = "SELECT ID, post_title, post_content FROM $wpdb->posts WHERE post_status = 'publish' AND post_password ='' AND post_type='post' ORDER BY RAND() LIMIT 1";
$fposts = $wpdb->get_results($sql);
$output = '';
foreach ($fposts as $fpost) {
$post_title = stripslashes($fpost->post_title);
$post_title = str_replace('"', '', $post_title);
$permalink = get_permalink($fpost->ID);
$post_content = stripslashes(strip_tags($fpost->post_content));
#$post_content = stripslashes($post_content);
$output .= '<p class="title"><a href="' . $permalink . '" rel="bookmark" title="Devamını oku ' . $post_title . '">' . $post_title . '</a></p>';
$words=split(" ",$post_content);
$post_strip = join(" ",array_slice($words,0,20));
$output .= '<p class="content">' . $post_strip . ' ...</p>';
}
echo $output;
?>
<?php echo '<p class="more"><a href="' . $permalink . '" rel="bookmark" title="Devamını oku ' . $post_title . '">Devamını Oku</a></p>'; ?>
</div></td>
</tr>
</table>
bu yukardaki kodu yan yana sıralatmak istiyorum