Show no records when page loads..

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

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: [Dave] Show no records when page loads..

By jimbly2 - January 25, 2008

Hi Dave,



yep that would work fine I think - where do I insert that in the code?

Thanks,

Jim

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