O'Reilly Forums: Chapter 9 - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 9 How to display search words as italic?

#1 User is offline   Demetrio 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 12-February 14

Posted 12 February 2014 - 03:53 AM

Hi everyone! I have a question. Is it possible to display search words as italic? Is there any way to modify the original script? I mean for example I put "Trainer", click Submit and see this for example: shark trainer. Besides if the search word is located at the end of the text how can we make it visible? I mean if we use substr($row['description'], 0 ,100) we only can see the beginning of the text. Thank you.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users