Skip to main content
Known Participant
July 23, 2009
Question

PHP update behavior not seeing dynamic variables

  • July 23, 2009
  • 1 reply
  • 1025 views

I'm trying to modify an existing PHP page (admittedly not my strongest suit) .... where certain values are dynamically fed via a functions.php file included in the page header.. one such field is <?=memberDropdown($_SESSION["memberProfile"]["membernumber"])?> ... and the page does retreive and display a drop down with the dynamic content as it should, but when I go to build the DW8 PHP Update behavior, it doesn't "see" the dynamic drop down. Any suggestions on how to resolve this?????  Thanks!

This topic has been closed for replies.

1 reply

July 24, 2009

Do u want to do dynamic drop down menu? Choose from Insert > Form > List/Menu. Click on it and see at properties below. You can see 'Dynamic' button with lightning icon. Click it and u will see popup window will appeared. At the 'options from recordset' field, select the recordset that u want to use. But make sure u create the recordset first. For example if u want the menu to display members from database, create recordset from members table (Server Behaviour > Recordset). Values field is what column u want to store in database and Label field is what u want to display to users.

AdrianLeAuthor
Known Participant
July 24, 2009

Hello.. no. The dynamic drop-down that is there works just fine. THe problem is that the UPDATE behavior that DW8 generates doesn't SEE the drop-down.. there's no ID or NAME for it to use.

July 27, 2009

I dont understand from what u mean

>the UPDATE behavior that DW8 generates doesn't SEE the drop-down