Mmmm...I have been trying for a while to get the 'Ranged search' mod to work ( from http://www.gossamer-threads.com/...rces/jump.cgi?ID=602).
I have a page that i have set up at http://courier.ace-installer.com/...bin/links/search.cgi, which has the mod made to it. The problem is that it just isn't searching the fileds. For example, if I try and search the 'Town' box, it just returns to search.cgi, and doesn't report an error. However, if I type something into the 'query' box it works, or brings up an error saying there is no matching records.
Does anyone know why this may be?
I have all of the other code that needed adding, and the bit I have changed is below (from search.cgi);
# Display the form if called with no input.
# (keys %in <= 0) and &site_html_search_form() and return;
($in{'query'} or $in{'Town'} or $in{'Company_Name'}or $in{'Address'}) or &site_html_search_form and return;
It is probably just something really simple, but I am missing it (hey, its nearly 10PM over here in the UK, and I have had 2 exams today...). Any help is much appreciated.
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
I have a page that i have set up at http://courier.ace-installer.com/...bin/links/search.cgi, which has the mod made to it. The problem is that it just isn't searching the fileds. For example, if I try and search the 'Town' box, it just returns to search.cgi, and doesn't report an error. However, if I type something into the 'query' box it works, or brings up an error saying there is no matching records.
Does anyone know why this may be?
I have all of the other code that needed adding, and the bit I have changed is below (from search.cgi);
# Display the form if called with no input.
# (keys %in <= 0) and &site_html_search_form() and return;
($in{'query'} or $in{'Town'} or $in{'Company_Name'}or $in{'Address'}) or &site_html_search_form and return;
It is probably just something really simple, but I am missing it (hey, its nearly 10PM over here in the UK, and I have had 2 exams today...). Any help is much appreciated.
Andy
webmaster@ace-installer.com
http://www.ace-installer.com