• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I cant fetch the entire content of the select box

#1
Photo 
When I try to fetch the data in a form, only the first word of the select box captured. see images for more details.

   
Reply

#2
I believe you have to put quote marks around the value. <option value="<?= $office->office_name ?>"><?= $office->office_name ?></option>
Simpler is always better
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.