Welcome Guest, Not a member yet? Register   Sign In
How to use dropbox
#2

To use a 'dropbox', you would need to have a form on the page and something like this as your form field:

Code:
<select name="" id="">
    <?php foreach ($data_kategori as $lihat) { ?>
         <option value="">
              <?php echo $lihat['kode_kategori']; ?>
         </option>
    <?php } ?>
</select>

Or you can use the form helper form_dropdown which might be easier which you can read about here: http://www.codeigniter.com/user_guide/he...m_dropdown
Reply


Messages In This Thread
How to use dropbox - by furqon97 - 11-10-2015, 04:05 PM
RE: How to use dropbox - by PaulD - 11-10-2015, 07:23 PM
RE: How to use dropbox - by Hobbes - 11-12-2015, 11:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB