Re: [PHP] Limit Local Search to Content

2009-03-26 Thread George Langley
Hi Ashley. That's what I'm doing, but want to limit what gets stored to just the content. Every page has a drop-down menu of, for instance, various cities, so I want to exclude that part of the page in my search terms. I don't want every page to think it has content on Calgary, Hamburg, Ph

Re: [PHP] Limit Local Search to Content

2009-03-26 Thread Ashley Sheridan
What about storing all of the page content in the database to start with, then searching with a mysql statement is a breeze! On Thu, 2009-03-26 at 16:29 -0600, George Langley wrote: > - Original Message - > > From: Stuart > > > You can't have any extra info in a closing HTML tag. This >

Re: [PHP] Limit Local Search to Content

2009-03-26 Thread George Langley
- Original Message - > From: Stuart > > You can't have any extra info in a closing HTML tag. This > > problem is > > usually handled using comments. Something like the following... > > > > > > > > sofihsod hiosdh sdh gus us u sg > > > > > > > > You then just start with you see the b

Re: [PHP] Limit Local Search to Content

2009-03-26 Thread George Langley
> 2009/3/26 George Langley : > > How do I STOP it? Is it permissible to add the id again in the > closing div tag ie . > From: Stuart > You can't have any extra info in a closing HTML tag. This > problem is > usually handled using comments. Something like the following... > > > > sofihsod hi

Re: [PHP] Limit Local Search to Content

2009-03-26 Thread Stuart
2009/3/26 George Langley : >        Hi all! Am building a Search feature following the excellent tutorial > at: > > > > It loops through a page and stores the words found in a mySQL database. >        I have about 60 pages, a