Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Programming help (Displaying Index search result)


Guest

Recommended Posts

Hi Guys, I'm not sure where to turn to, I've been researching this question for a while already and still did not get an answer, so I'm turning to the experts here at OSCommerce, any help is greatly appreciated, ...

 

this is what I'm trying to do, I wanted to create a search page to get files in a folder, for example, I have the following documents :

 

test1.txt

test2.txt

test3.txt

example1.txt

example2.txt

example3.txt

 

in the following folder : http://www.mysite.com/docs/

 

I'm trying to create a search page so that lets say I input "test" in the search box, it will look through the "docs" directory and find all the matching .txt file and display it on the result page, in this example, it will display :

 

test1.txt

test2.txt

test3.txt

 

and if I enter "2" in the search box, the following files will show on the result page :

 

test2.txt

example2.txt

 

can someone please help me with this coding.... I been going throught books and internet and still can not find the right coding, any help is greatly appreciated, thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...