Skayfer Posted September 28, 2015 Share Posted September 28, 2015 Hi, I create my first module and i got stuck at this moment. I have default function display form. You probably know that there is 1'st level - main array, 2'nd level array with legend, submit, title and 3'th level array, for example with specific input settings. I have idea to dynamic get data from database to inputs. This part work good, but i have problem with dynamic generate inputs (3'th level array). I try use inside for loop or foreach, but it is forbidden by syntax. I generate my 3th level array outside main array and i can do this: 'input' => array( $nowy_array[1] ), , but i dont know add dynamic. I try add array without index and add array with pirnt_r, but it doesn't work. Thanks for answers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now