Thank you for your response jarich. I tried your suggestion and now neither side would populate the flat file results are returned. However, I do feel more comfortable with the way you rewrote it because it is easier to handle. To truly understand my dilemma, I have included the following link. The HTML file before it is populated: http://www.urhosted.com/mall/searchres.html By doing a search for "sports" at the bottom of the HTML doc, you will see only the %%searcresults%% side is populated with the results from search.idx file. Example:
20645 CJ Sports Sportswear and equipment retailer specialisi +ng in rugby, hockey, netball and cricket. Full product details and o +rdering available online. Apparel_and_Accessories-Athl +etic_Clothing www.cj-sports.co.uk/ 20660 Gekko Gear Selection of winter sports apparel. + Apparel_and_Accessories-Athletic_Clothing www.gekkogear.co +m/
The data in the second file - search2.idx
20225 URHosted Testing. Testing more. Apparel_and_Acces +sories-Athletic_Clothing www.urhosted.com

In reply to Re: Re: Re: assigning flat file dbs to arrays by Dente
in thread assigning flat file dbs to arrays by Dente

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.