nevermind, i was doing it on the wrong place. okey now, anyone know php out there. i wanna do
$Body = eregi_replace("\[code\](.*)\[/code\]","\\1",$Body); and then do a highlight_string(\\1); or something like that? can i do something like that?
i want to be able to pull what is between [code][/code] and run it throught the highligh_string function.?
[:red]--------------
http://extremeforums.orgEdited by poil on 03/23/01 02:50 PM.