This topic is locked
[SOLVED]

 Search URL

7/23/2010 4:18:09 AM
PHPRunner General questions
Z
Zxenop author

Hi everyone

I was using the tutorial here :

http://xlinesoft.com/phprunner/docs/add_dropdown_list_box_with_values_for_search.htm

And I was wondering if anyone could give the same URL than the one in the tutorial but for two fields ? or N fields in general actualy

Thanks in advance

A
ann 7/23/2010

Hi,
here is just a sample url code:

TableName_list.php?ctlSearchFor=&simpleSrchTypeComboNot=&a=integrated&id=1&criteria=and&type1=&value11=12&field1=Field1&option1=Contains&not1=&type2=&value21=12&field2=Field2&option2=Contains



where TableName is your actual table name and we are searching for the field1=12 and field2=12

Also you can run simple search for two fields and then copy resulted URL.

Z
Zxenop author 7/23/2010



Hi,
here is just a sample url code:

TableName_list.php?ctlSearchFor=&simpleSrchTypeComboNot=&a=integrated&id=1&criteria=and&type1=&value11=12&field1=Field1&option1=Contains&not1=&type2=&value21=12&field2=Field2&option2=Contains



where TableName is your actual table name and we are searching for the field1=12 and field2=12



That's exactly what I was looking for, thanks I guess if I want to add a third I will juste add

&type3=&value31=12&field3=Field2&option3=Contains

right ?



Also you can run simple search for two fields and then copy resulted URL.



I tried that the URL didn't change in the adress bar

A
ann 7/23/2010

Hi,
please see my comments:

  1. yes, exactly.
  2. try simple search not advanced one.

Z
Zxenop author 7/23/2010



Hi,
please see my comments:

  1. yes, exactly.
  2. try simple search not advanced one.



Didn't knew that simple could hold multiple fields, my bad