ok, this is cool.
i understood you and your vision for this easy script but i just don't understand one small thing... if i do this
$selekt = mysql_query("SELECT * FROM table") or die(mysql_error());
$krlja = array();
while ($row = mysql_fetch_array($selekt)) {
$krlja[] = "<p>".$row['something'];
if ($row['something_else']) {
$krlja[] .= "<br />".$row['something_else'])."</p>";
}
}
echo join("<hr"/>", $krlja);
my output is not good... it goes like this
<p>something<hr /><br />something else</p><hr /><p>something2<hr /><br />something else 2</p>
hmmm... how's that??
oh yes, and to answer to your question about stripslashes... well, seems that i will have some strange text inside that column so i will use addslashes and I]stripslashes[/I]. yes =)