php - How to add more than one field in row, instead each field in row -


i'm use grocery crud codeignier, want add 2 image upload fields or more 1 form row.

usually way add fields in following figure:

but want following figure (all in 1 row):

the code:

$crud = new grocery_crud(); $crud->set_table('content'); $crud->where('state', 1); $crud->add_fields('name', 'category_id', 'subcategory_id', 'image', 'image2', 'image3', 'image4', 'text', 'period'); $crud->set_field_upload('image', 'assets/uploads/'); $crud->set_field_upload('image2', 'assets/uploads/'); $crud->set_field_upload('image3', 'assets/uploads/'); $crud->set_field_upload('image4', 'assets/uploads/'); 


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -