Jump to content

Recommended Posts

I am a new user to Dreamweaver and I saw that it is possible to generate a repeat region in a table based on results from a MySQL query. Does anyone know if it is possible (and if so, how to go about) populating a table with repeations regions from the selections made in a multiselect list object on the same page as the table with the repeating regions?

 

What I have in mind is a select list with the multiple option chosen which is populated with items from a MySQL query. I then would have a button called "Add" which would access whatever options in the select list where selected when the button was clicked. This button would use the values of the selected options to populate the a table on the same page (dynamically). It would add the same number of rows to the table as items selected from the multiselect list.

 

It is almost like a shopping cart type interface but I want to do all of this on the same page and not have the items populating the "shopping cart" come from the database directly but from the multiselect list.

 

I would also like to be able to add a delete button to remove items from the "shopping cart" but that is another issue. I want to see if this first issue (using repeat regions with mutliselect lists) is possible.

 

Any suggestions?

 

Thanks,

D

Link to comment
https://forums.phpfreaks.com/topic/2642-repeat-regions-and-multiselect-lists/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.