FAQ search
Posted: Mon Nov 06, 2006 5:37 pm
Hi everybody. I want to implement a search function for my faq which consists of 1 answer for every question (this data is stored in a database)...
This is my thinking:
1. While doing the search I will grab every question and assign it to a string.
2. Then I would search that string (here I need some help).
3. If the keyword matches then I would output the question and answer to the user.(if there are say 20 answers how do I divide 5 answers for each page?)
Thanks!
This is my thinking:
1. While doing the search I will grab every question and assign it to a string.
2. Then I would search that string (here I need some help).
3. If the keyword matches then I would output the question and answer to the user.(if there are say 20 answers how do I divide 5 answers for each page?)
Thanks!