Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Pass value to search


DataMouse

Recommended Posts

Hi all

 

I have an idea that I know is possible, but not sure how to pass the values.

 

On "advanced_search.php", you can perform a text-based search.

What I'd like to do is use this text-based search but, instead of typing in the text, pass in three words from three select/dropdown lists.

 

I need a way to say "Value 1" + "Value 2" + Value 3" in a variable, which I can then pass to teh query.

 

There is just one condition.

If the value of the box is "Any", then it should be ignored from the submission

 

For example,

 

Value1 = xyz

Value2 = abc

Value3 = Any

 

Submit = "Value1" + "Value2"

 

Does that make sense?

 

Thanks all

 

DM

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...