Sharpfox Posted April 1, 2006 Share Posted April 1, 2006 I was wondering how you guys made the code blockexample:[code]code block[/code]did you use expressons(i think i spelled this wrong)?thanks in advance Link to comment https://forums.phpfreaks.com/topic/6348-php-block/ Share on other sites More sharing options...
Zane Posted April 1, 2006 Share Posted April 1, 2006 [!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]I was wondering how you guys made the code block[/quote]well...we didn't make it first of alland most likely regex was used to do itall it is is it replaces stuff between [code] with a formatted div tagwhilst removing the code tagand then they CSS to make it look prettier Link to comment https://forums.phpfreaks.com/topic/6348-php-block/#findComment-22942 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.