cluce Posted September 10, 2007 Share Posted September 10, 2007 I have a web page that displays data in a table which can be sorted dynamically. I also have a list box with a list of categories (engines, generators, all categories, etc.) My goal is to have the user select a category that would display the products in that category. Or if they want to display all, they can. Can I execute queries from the list box? If so, can someone give me a little example snippet on how to do it. (I was thinking maybe some IF THEN statemenst and include' sql.php' but I am not sure if this is feasible??? I know this can be done in javascript but I am not that experience in that language. But I was able to use javascript to sort the table dynamically becasue I found some instructions on how to do it. But I cant find any script on this topic. So I am a little stuck on how to go about doing this. Any help is appreciate. Javascript or PHP?? Quote Link to comment https://forums.phpfreaks.com/topic/68717-solved-some-advice-on-how-to-display-data-in-a-table-with-a-list-box/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.