CodeIgniter Forums
unable to insert dropdown data into database - 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: unable to insert dropdown data into database (/showthread.php?tid=63790)



unable to insert dropdown data into database - nady - 12-10-2015

Hi..
i am new one in codeigniter
unfortunately i am unable to send data from dropdown to database.
kindly help me if anybody have example kindly share with me.
Thanks
Nady


RE: unable to insert dropdown data into database - casa - 12-10-2015

Hi..
Could you explain more please ? an example of you want to exactly.
To recover data for a dropdown, you can do it with post or get method. After, you make some checks on your datas before insert it in your database.


RE: unable to insert dropdown data into database - InsiteFX - 12-10-2015

(12-10-2015, 02:57 AM)casa Wrote: Hi..
Could you explain more please ? an example of you want to exactly.
To recover data for a dropdown, you can do it with post or get method. After, you make some checks on your datas before insert it in your database.


Codeigniter Form Dropdown – Insert and Read using Database.


RE: unable to insert dropdown data into database - nady - 12-10-2015

Actually
in form people select their card from dropdown e.g. visa, master card etc.
after this i was unable to store data into database but now finally i store data in database but still unable to validate cradit card or debit card validation.
i use following validation in my page but still not able to validate the values.
http://tutsnare.com/credit-card-validation-in-codeigniter/

hope it'll help you.
Thanks in advance
Nady