how to search a word.

php India
  • 14 years ago
    Here i am trying to search a word in a particular page.
    in the string i am writing like
    $str="<font color=#3366CC size=2><strong>Data
              Base:</strong></font> <br>- Microsoft Access 2002 - SQL Server 2000 Design Study Guide <br>
              - Delphi - Database application developers book - Microsoft SQL Server
              2000 - Database Design <br>
              - Java - Borland JBuilder - Developing Database application - Microsoft
              SQL Server Black Book <br>
              - Database Application - Developer's Guide - MS Press - 70-228 SQL Server
              2000 <br>";

    Then i am writing the code for search.
    I am giving search word like Access its working fine.

    But the problem is if i am giving search word as br
    Then the output will highlight all the <br> statements.
    in the same way <font>........

    So please any one can help me

























Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”