I keep hitting dead ends with pagination! I am having the same problem with all of the scripts I've tried - is it possible to pass a variable created as an array and imploded to be part of a WHERE statement through multiple pages?
The script(s) I have work perfectly (once I get my parse errors out of them) - until I go to the next page when there are 0 results found because the required WHERE $ is not passed...
I get 'Array' passed instead of the multiple selections If I pass the $l_area from the search page as such:
<a href=\"$PHP_SELF?query=$query&$l_area&page=$ppage&limit=$limit\">$i</a>
The value passed in the link is '&Area1,%20Area2,%20Area3' etc. if I define a new variable and attempt to pass that :
$l_area_list = implode(', ', $_POST['l_area']);
<a href=\"$PHP_SELF?query=$query&$l_area_list&page=$ppage&limit=$limit\">$i</a>
I have been looking everywhere for a solution to this for a while now - and I keep finding posts from others with the same problem but never a solution?
If I'm off track I will start again - but I've spent a lot of time getting everything else on the site working exactly as I want it so getting this sorted out would be so great...
thanks to any suggestions!🙂