Jump to content


Select certain text


1 reply to this topic

#1 meadow

    Young Padawan

  • Members
  • Pip
  • 224 posts
  • Location:Devon, England
  • Interests:Php, Hockey, mysql, web design.

Posted 28 January 2006 - 10:07 AM

Hi, I'm creating a small tutorial site and i've got it displaying tutorials and all ok, but what I would like is to have syntax highlighting on the tutorials, but they're all stored in a database and I want to have some way of (Like on IPB) highlighting any text within certain tags, I know of the highlight_string() funtion, but I need to select certian text and highlight it, any way of doing this? All help appreciated, thanks. :(

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 28 January 2006 - 01:16 PM

This has been asked before.
http://www.pixel2lif...showtopic=18394

Please do a forum search next time.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users