Hi all, total newbie on this site, and after reading a trying certain explanations I am still at a loss. I have seen numerous threads on this already and am able to get everything working except the query string. I generally let dreamweaver do things for my as I am still coming to grips with hand coding, but now I need help. I have a dropdown box that lists 3 fields in my database(price, berth,new_or_used) I need a person to select 1 from the dropdown list and then enter a text in a textbox to narrow the search on the chosen field. I have that part working and also if I use $_post I can print the name of the field and the textbox on the search result page, but here is where I am stuck, I cannot seem to get the query string right so that I can list the results. Any help will be appreciated.
berniez
0
Newbie Poster
Recommended Answers
Jump to PostI cannot seem to get the query string right so that I can list the results.
Generally, the query string is considered to be the url plus all the $_GET variables that you tack onto it. What is the problem?
Jump to PostAre you referring to constructing the SQL query string based on user's selection of which field you want to search in?
All 5 Replies
buddylee17
216
Practically a Master Poster
gurucs
0
Newbie Poster
berniez
0
Newbie Poster
architact
25
Junior Poster
gurucs
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.