Forums
This topic is locked
Repeat regions with multiple updates
Posted 20 Oct 2005 20:00:45
1
has voted
20 Oct 2005 20:00:45 Mike Wisniewski posted:
Hi!I'm sure this is super easy, but I'm pulling my hair out over it! I've been stuck on this now for about two days and was hoping somebody can help. I'm running Dreamweaver MX 2004, writing in PHP, and recording the database to a mysql server. Here is my problem. I have all the data in the table get displayed and use the "repeat region" behavior to make it display multiple lines of data. I want to be able to add some sort of selection (preferably radio button, but a checkbox or drop down will work too) so the user can choose an option for that record. Here's an example...
id# | description | status
-----------------------------
123 | this is a test | o available | o unavailable | o order here
456 | this is another | o available | o unavailable | o order here
I would like the user to be able to choose "available" for 123, "order here" for 456 and then have an update done to the database to reflect these changes. Is this possible? How does one accomplish it? I'm really a newbie here with dreamweaver so any help is greatly appreciated.
Thanks in advance!