Using search results in results page.

3 posts by 2 authors in: Forums > CMS Builder
Last Post: April 5, 2010   (RSS)

Re: [Thomas] Using search results in results page.

By Jason - April 5, 2010

Hi,

Yes, you can access variables in the URL query string like this.

$_REQUEST['variable'];

Where 'variable' is the name in the query string. So the code:

$age_min=$_REQUEST['age_min'];

will take the 'age_min' variable from the query string (in this case 30) and assign it to the variable $age_min.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Using search results in results page.

By Thomas - April 5, 2010

Thanks Jason! That is very helpful [:)]