sorry to be a pain stefan, but i don't think i'm getting this, so heres the code that outputs what i'm trying to show up with line breaks
PHP Code:
$projects = $DB_site->query_first("SELECT projectid, text, timestamp FROM projects $clause ORDER BY projectid DESC $limit");
$projects = nl2br($projects['text']);
if (!$DB_site->num_rows($projects)) {
eval("\$projects_bits = \"".fetch_template("projects_error",1,0)."\";");
} else {
while ($project_info = $DB_site->fetch_array($projects)) {
extract($project_info);
$totalconf = number_format($DB_site->num_rows($projects));
$time_posted = vbdate('n-j-y, g:i:s a', $timestamp);
if ($bbuserinfo[usergroupid] == 6) {
eval("\$adminoptions = \"".fetch_template("projects_adminoptions",1,0)."\";");
}
eval("\$projects_bits .= \"".fetch_template("projects_bit")."\";");
}
it's all called in the templates via a simple $text inside the $projects_bit template