ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Populating drop down with array

AdamMCG 06 May, 2018
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.
debugger.png
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.
Max_admin 20 May, 2018
Hello AdamMCG,

The PHP action should be ABOVE the "display section" action for this to work but the array formatting is correct.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com