i want show brands in dropdown. have brands in brand table. how show in from. i'm zend beginner. (zf2.4.0)
this blog post job explaining how need: http://samminds.com/2013/03/zendformelementselect-and-database-values/
doctrine orm provides ready-made element entityselect doing this, helps if you're using doctrine orm. if you're using doctrine dbal or zend\db you'll need first querying database load list of brands passing array select form element's value_options
key.