display search results

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alexandre Plennevaux

    display search results

    hello mates,

    i want to set up a searchable database out of a huge word document
    containing reglementary articles (75 pages).
    The way i want the system to work is as such:

    a search form returns a list of results (in a leftframe panel) in the form
    of extracted sentences where the search word is highlighted. When you click
    on the highlighted keyword, it centers the whole document to the relevant
    paragraph in a rightframe panel.

    My problem is i have no idea how to implement the generation of search
    results as links recentering a document to the relevant paragraph.

    Any idea how to do that ? I guess i should use anchors but cannot quite
    figure out how in relation to php.

    Do you think it could be possible to use the result string's line number as
    an anchor ?

    thanks a lot in advance,

    djit


Working...