Jump to content

[SOLVED] some advice on how to display data in a table with a list box


cluce

Recommended Posts

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??

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.