PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PHP vBcode test


s.molinari
04.04.2002, 12:28
here everything is working like it should.:)

Scott

From vB.com:
I added this $buffer = str_replace("\n", "", $buffer);
to the end of the function just before the
}
return;

and it seems to work... uh..... look better.:)

s.molinari
04.04.2002, 18:17
and for Kevin....:D

with the tags:

<?
if ($counter%2==0) {
$backcolor="#F1F1F1";
$post[bgclass] = "alt1";
} else {
$backcolor="#DFDFDF";
$post[bgclass] = "alt2";
}
?>

without the tags.

if ($counter%2==0) {
$backcolor="#F1F1F1";
$post[bgclass] = "alt1";
} else {
$backcolor="#DFDFDF";
$post[bgclass] = "alt2";
}

See, only one line before and after.

Scott