We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,459 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

filtering database results

I need to build a filtering function for the website I am working on, however I am not certain where to even start, should I be working in PHP, Javascript, Jquery or what? The way this is set up, there is a column of buttons set up on the side of the page that are used to filter the displayed search results and limit them to specific ranges of price among other numeric values, I need the buttons to therefore start a new mysql_query that pulls up only the results with, say the proce range between 10 and 15, I know the code for the query itself but I am not sure what I should be using to start the filtering proccess, please point me in the right direction. I am sorry if this is confusing to read, im not the best with explinations, but if you will ask whatever it is that confuses you I will gladly try to clerify. Thanks in advance.

3
Contributors
5
Replies
11 Hours
Discussion Span
3 Months Ago
Last Updated
8
Views
Question
Answered
GraficRegret
Junior Poster
176 posts since Nov 2012
Reputation Points: 0
Solved Threads: 2
Skill Endorsements: 0

@GraficRegret

I think PHP/MYSQL will do fine or you can used DATABASE query.

It's bit hard without a table to see what query you are working on.

Do you have any query that you are working on now?

LastMitch
Industrious Poster
4,212 posts since Mar 2012
Reputation Points: 134
Solved Threads: 336
Skill Endorsements: 45

no I am trying to get an idea of where to start is all, that way I know how to search for any tutorials on the subject

GraficRegret
Junior Poster
176 posts since Nov 2012
Reputation Points: 0
Solved Threads: 2
Skill Endorsements: 0

no I am trying to get an idea of where to start is all, that way I know how to search for any tutorials on the subject

Have you decide which to used? Which language are you more comfortable with?

LastMitch
Industrious Poster
4,212 posts since Mar 2012
Reputation Points: 134
Solved Threads: 336
Skill Endorsements: 45

php/mysql is what im most comfortable with but i am also strong with javascript and getting better with jquery and ajax, so its more a matter of what is better suited for the task, as in which will make it easier on me, I have seen a few javascripts that would probobly be good but then I am not sure of the php code that I will have to write to get the results to display, so I have to search more I guess.

GraficRegret
Junior Poster
176 posts since Nov 2012
Reputation Points: 0
Solved Threads: 2
Skill Endorsements: 0

Thanks, I figured it out.

GraficRegret
Junior Poster
176 posts since Nov 2012
Reputation Points: 0
Solved Threads: 2
Skill Endorsements: 0
Question Answered as of 3 Months Ago by LastMitch

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0667 seconds using 2.67MB