Re: Limit Local Search to Content
| From: | George Langley | Date: | Thu, 26 Mar 2009 19:35:49 +0000 |
| Subject: | Re: Limit Local Search to Content | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290711@lists.php.net to get a copy of this message | ||
> 2009/3/26 George Langley <george.langley@shaw.ca>:
> > How do I STOP it? Is it permissible to add the id again in the
> closing div tag ie </div id="divContent">.
>
From: Stuart <stuttle@gmail.com>
> You can't have any extra info in a closing HTML tag. This
> problem is
> usually handled using comments. Something like the following...
>
> <div id="divContent">
> <!-- content begin -->
> sofihsod hiosdh sdh gus us u sg
> <!-- content end -->
> </div>
>
> You then just start with you see the begin comment and stop when you
> hit the end comment.
---------
Thanks! Will use a unique word like <!-- startSearchTerms --> to make sure is located and
not accidentally found within the content.
George