I have used a custom PHP element to access my database and select the relevant data, I have then used the loadAssocList() function with a key and index specified. This has produced the data I wanted, displayed correctly in an array, shown in the debugger.

I have then written the code: {var:php9} in the options box of the dropdown, however no options are displayed for that dropdown on the page. Is there an error with the array formatting? Thanks for any help in advance.

I have then written the code: {var:php9} in the options box of the dropdown, however no options are displayed for that dropdown on the page. Is there an error with the array formatting? Thanks for any help in advance.