Click to See Complete Forum and Search --> : Frontpage Page Include


decoy1983
01-21-2008, 05:37 AM
Hi guys,

I am currently playing around with a directory which currently(until I get the funding to build the technology) uses static pages for the search results, currenly this is basically how my search results pages work

<div id="results-page">
<ul>
<li id="search-results">
<!--webbot bot="Include" U-Include="listing_1.htm" TAG="BODY" --></li>
<li id="search-results">
<!--webbot bot="Include" U-Include="listing_2.htm" TAG="BODY" --></li>
</ul></div>


And I'm wonder is there a coding, html or otherwise that will auto include? Say for example I currently have 2 results, to drop in a third I just need to create the file in the right directory and it will appear without me inserting it.

Any ideas?

Thanks in advance.

TheRave
01-21-2008, 05:45 AM
You definitely need to look into PHP or ASP for creating search results, as well as doing dynamic includes, as you describe.

decoy1983
01-21-2008, 05:53 AM
Thanks, just to get the site going I wanted to do it this way so that why I'm working on better solutions offline there can still be a site online, if that makes sense.

So is there a php include function that does what my original post asked?I know this is the wrong section, but if you say there is I will ask there.

ray326
01-22-2008, 12:56 PM
You have to either do that on the server or in a "blind" Javascript loop on the client, which would be an extreme kludge.