CodeIgniter Forums

Full Version: I cant fetch the entire content of the select box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I try to fetch the data in a form, only the first word of the select box captured. see images for more details.

I believe you have to put quote marks around the value. <option value="<?= $office->office_name ?>"><?= $office->office_name ?></option>