Skip to main content
Participating Frequently
June 13, 2006
Question

Hard coding select= statement

  • June 13, 2006
  • 1 reply
  • 321 views
I'm having difficulty with the correct way to code this...

Collections/rodeogear/rodeogear_results.asp?select=Group 1 Prints AND Group 1 Prints&Submit=search

In my database I have two categories(group 1 prints and group 2 prints) that I want to display. when I add the AND it shows blank results... when I remove the AND and just ...

Collections/rodeogear/rodeogear_results.asp?select=Group 1 Prints&Submit=search

it works fine. please advise...

thanks
fred
This topic has been closed for replies.

1 reply

Inspiring
June 14, 2006
Firstly, spaces in URLs are a big no-no.

After that, we need to see the code you are having problems with in order to
help debug it.
Cheers,
Rob
http://robgt.com/ [Tutorials and Extensions]
Firebox stuff: http://robgt.com/firebox
Skype stuff: http://robgt.com/skype
Dell stuff: http://robgt.com/dell
SatNav stuff: http://robgt.com/satnav



Participating Frequently
June 14, 2006
ok, how's this. Dreamweaver will automattically put % in where there is a space.

Here is the line of code that will displays no error, but just blank results...

http://www.resistolhat.com/raw/Collections/rodeogear/rodeogear_results.asp?select=Group%201%20Prints%20AND%20Group%201%20Prints&Submit=search

Attached is the code to the "search" page.