Jump to content

Recommended Posts

I have come accross this function

 

highlight_string($string);

 

When bringing back my blog from the DB i want it to be able to use this function on any php code inside the

 

[ code ] tags...

 

however all my attempts have failed and it parses everything from the DB

 

how do i get it so that it only highlights the text inside the [ code ] tags

 

Someone please help!!

 

Garry

 

 

Link to comment
https://forums.phpfreaks.com/topic/130324-someone-must-help-me-with-this/
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.