I cant fetch the entire content of the select box - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: I cant fetch the entire content of the select box (/showthread.php?tid=73230) |
I cant fetch the entire content of the select box - robinx1578 - 04-03-2019 When I try to fetch the data in a form, only the first word of the select box captured. see images for more details. RE: I cant fetch the entire content of the select box - donpwinston - 04-03-2019 I believe you have to put quote marks around the value. <option value="<?= $office->office_name ?>"><?= $office->office_name ?></option> |