Support the ongoing development of Laravel.io →
Input Database
Last updated 2 years ago.
0

In HTML, the

<select></select>

is a container for MULTIPLE

<option>one option</option>
<option>another option</option>
<option>yet another option</option>

So you'd use a standard foreach to loop your options, and output a separate option tag for each.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

lstables lstables Joined 5 Jan 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.