"Xuzuning" moderator for advice, there are problems ah, you master onlookers.
This post was last edited by u010572351 on 2013-06-23 13:23:38
Yesterday asked how to achieve multiple conditions under the classification of the search,
http://bbs.csdn.net/topics/390497100
Later I made it, but the new problem appeared, and is more deadly malpractice, want to ask again.
Question 1:
1.url above only shows the link of the current click, because the parameters are placed in the session, each link is the parameters of the current link, as if other sites are not like this, they are all parameters of the combination.
2. This problem is the most important thing is that the user clicked on the parameters of the session, if the user searched for a, but did not close the browser, browse other pages to go, and then back to search, then the session is still valid, that is, his current search scope has been limited to the last search results.
Like what:
User last search condition is: Only movie, 2012, Mandarin, and then close the page (not close the browser), after a while back, he searched for foreign films, because now the session is still valid, he is not search for things, or the range is wrong, narrow, Unless he closes the browser again.
It doesn't feel right.
Share to:
------Solution--------------------
You need to modify that post #4, #16 code
------Solution--------------------
Why not use the JS splicing URL string?
------Solution--------------------
Multi-criteria screening, I heard the first time to use the session
No language
Just a simple URL stitching.
When did you get the session?
I'll make a very simple example.
$a =$_get[' a ']
$b =$_get[' B ']
$c =$_get[' C ')
if ($a! = ") {
$aurl = "&a=". $a
}
if ($b! = ") {
$burl = "&b=". $b
}
if ($c! = ") {
$curl = "&c=". $c
}
?>
"> All ">a1
"> All &b=1 ">b1
"> All &c=1 ">c1
------Solution--------------------
No words, the code is given out, also said how to achieve
------Solution--------------------
The use of JS dynamic spell URL should be better implemented,
According to the page you gave earlier, this can be done:
1. Create a new three hidden fields on the template page