Show no records when page loads..

4 posts by 2 authors in: Forums > CMS Builder
Last Post: January 26, 2008   (RSS)

By jimbly2 - January 25, 2008

Hi Dave,

another conumdrum for you :-)
On my 'Jobs' page when the pages loads, it displays all the jobs in a big long list. Then when you click on 'China' for example, it just shows the relevant jobs. My question is, how can i set the page to show no records until a choice is clicked?

Does that make sense?

Thanks
Jim

Re: [jimbly2] Show no records when page loads..

By Dave - January 25, 2008

So you have something like jobs.php?country=China to show China jobs then?

The simplest may be to just give it a search term that you know won't match anything, such as jobs.php?country=none

Would that work for you?
Dave Edis - Senior Developer
interactivetools.com

Re: [jimbly2] Show no records when page loads..

By Dave - January 26, 2008

Well try it out first and make sure it does what you want. Whatever your link to list China jobs was, just replace "China" with "none" (which won't match any countries) and then instead of linking to jobs.php link to jobs.php?location=none (or whatever the url is that you're using).

Let me know if that method will work, if it won't we can figure something else out.

Hope that helps! :)
Dave Edis - Senior Developer
interactivetools.com