Forum Moderators: coopster

Message Too Old, No Replies

php select search

         

adamnichols45

4:20 pm on Nov 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hey,

i want to have 2 html select boxes and be able to do a search to a sql database depending on the two selections.

is there now an easier way todo this? thanks

coopster

4:28 pm on Nov 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Easier than what? ;) Seems very straightforward and common to me. It really isn't very difficult. You parse the posted form values, validate the entries, build your query statement and execute.

adamnichols45

4:40 pm on Nov 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



easier than im used to doing a year ago. shall have a play around and see what i come up :-0

coopster

4:47 pm on Nov 24, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I hope that last post didn't come across harsh, I certainly didn't intend it that way. I would confirm you here. I don't know how else you might accomplish that goal except as stated earlier. Should be easier though since you've done it before, right? Let us know if you come up with a better mousetrap though ;-)

adamnichols45

4:49 pm on Nov 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks will have a play around :)