kade119 Posted May 15, 2010 Share Posted May 15, 2010 novice question: when creating a search function for a site, any page i would like searched needs to be stored in a database correct? thanks Quote Link to comment https://forums.phpfreaks.com/topic/201815-site-search-function/ Share on other sites More sharing options...
mikesta707 Posted May 15, 2010 Share Posted May 15, 2010 depends on what kind of search you are doing. Theoretically, you could open your files one by one, and search all those pages for the keyword or search term. However, it would be a lot easier, and much much faster if you did a SQL query. Your pages don't necessarily have to be entirely stored in SQL, but some sort of way to link a page with what type of information is needed at the least Quote Link to comment https://forums.phpfreaks.com/topic/201815-site-search-function/#findComment-1058576 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.