Welcome Guest, Not a member yet? Register   Sign In
combo box
#5

(This post was last modified: 08-16-2016, 11:50 AM by PaulD.)

You have not read the docs! Clearly.

http://www.codeigniter.com/user_guide/he...m_dropdown

Why would you put the output of form_dropdown function into an array with input posts that you then insert into your database!!!!!

I seriously do not know whether to laugh or cry!

This will tell you how dropdowns work
http://www.html-form-guide.com/php-form/...elect.html

Now you have a post field with your dropdown option value. Access it just like you would any other input post. The form helper just helps you to write your select HTML a bit more easily than writing it all out.

Did you say you were building an eCommerce CMS? OMFG :-(
Reply


Messages In This Thread
combo box - by davy_yg - 08-08-2016, 08:28 AM
RE: combo box - by InsiteFX - 08-09-2016, 05:32 AM
RE: combo box - by davy_yg - 08-09-2016, 06:42 PM
RE: combo box - by davy_yg - 08-15-2016, 09:30 PM
RE: combo box - by PaulD - 08-16-2016, 11:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB