PHP expert |
|
<?php
include("actionscript_class.php");
function actionscript($t) {
$ash = new ash_as();
return '<table class="code"><tr><td>'.$ash->ash_return_highlight_txt($t, 1, 1).'</td></tr></table>';
}
?>
<?php include("actionscript_class.php"); function actionscript($t) { $ash = new ash_as(); return '<table class="code"><tr><td>'.$ash->ash_return_highlight_txt($t, 1, 1).'</td></tr></table>'; } ?>
<?php
$bericht = preg_replace("/\[code\](.*)\[\/code\]/seU", "actionscript('\\1')", $bericht);
?>
<?php $bericht = preg_replace("/\[code\](.*)\[\/code\]/seU", "actionscript('\\1')", $bericht); ?>
ik denk dat deze functie dient om te highlighten |