Multiple Key Column Search in _list.php page |
1/13/2010 3:20:44 PM |
PHPRunner General questions | |
G
gluckett author
Hi All, |
|
J
|
Jane 1/15/2010 |
Gordon, if (@$_REQUEST["a"]==search" && $_REQUEST["SearchOption"]=="IN") |
E
|
ehoff 1/15/2010 |
Hello, |
G
|
gluckett author 1/15/2010 |
So, if I want to pass this - how would I modify the search string? Using the example above where I pass a comma delimited list? How can I modify the WHERE clause in the code? if (@$_REQUEST["a"]==search" && $_REQUEST["SearchOption"]=="IN") |
J
|
Jane 1/18/2010 |
Gordon, if (@$_REQUEST["a"]==search" && $_REQUEST["SearchOption"]=="IN") |
J
|
Jane 1/18/2010 |
Erik, if REQUEST("a")=search" and REQUEST("SearchOption")="IN" then |
E
|
ehoff 1/18/2010 |
Jane, Gordon, here is just a sample: if (@$_REQUEST["a"]==search" && $_REQUEST["SearchOption"]=="IN") |
E
|
ehoff 1/19/2010 |
Got it working in the end, the following did the trick for me: Jane, Thanks I have added this to the event, I had to remove the " after search to get this working. I am desperate looking for the code to get the following working but without luck sofar. ?a=search&SearchOption=IN&SearchField=Control%20ID&SearchFor=01.01.01,01.01.02,01.02.02, etc Could you help me to solve the issue to provide the results for 01.01.01 and 01.01.02 and 01.02.02 etc depending on the url? This is the showstopper before golive for me. regards, Erik |