I would like to write a program that can index all the names in the databases. Is there any function to do that ? If not then please give me some highlights on the issue. It will be too good if I able to get source code.
Printable View
I would like to write a program that can index all the names in the databases. Is there any function to do that ? If not then please give me some highlights on the issue. It will be too good if I able to get source code.
Index in what way?
Just like dictionary indexing. Such as
A
AB
ABC
ABCD
Many databases have facility called Indexes. You should look into them :)Quote:
Originally Posted by systech44
I would like make it from PHP. What is the easiest way to do it ? I need some guidelines. Please give me some idea on it.
An index is simply an ordered list of items where each item points to the location of an item in an unrodered/more complex collection of items.
So, you make your index of names, but what is each entry in the index going to point to? A file? A database record? Nothing? :ehh: Also, why do it in PHP when it is done a lot more efficiently using a database? :confused: