Onbekend |
|
Hi,
ik wil ervoor zorgen dat als men code doet, er de tekst ertussen kleur wordt, dit is mijn ubb.php:
<?php
$n = preg_replace("_\[code\](.*?)\[\/code\]_is", "<table width='75%' class='j'><tr><td><span class='groene_font'><b>Code:</b></span></td></tr><tr><td><span class='j'>\\1</span></td><tr></table>", $n);
?>
<?php $n = preg_replace("_\[code\](.*?)\[\/code\]_is", "<table width='75%' class='j'><tr><td><span class='groene_font'><b>Code:</b></span></td></tr><tr><td><span class='j'>\\1</span></td><tr></table>", $n); ?>
Hoe doe ik dat ?
|