CodeIgniter Forums

Full Version: difficulty with insert_batch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
@n0cturn0,

What is the field type of disciplinas?
(06-14-2018, 04:00 PM)php_rocs Wrote: [ -> ]@n0cturn0,

What is the field type of disciplinas?
hi! @php_rocs
tis this
public.cmcg_controleaps  disciplina text;

Undecided tanks!
@n0cturn0,

Bascially you are trying to put an array object in a text field. That's not going to work. You will need to either convert the array to a list or string then insert it into the field.

here are some links to get you started:
https://www.hostingadvice.com/how-to/php...to-string/
https://stackoverflow.com/questions/2552...text-field
https://stackoverflow.com/questions/9299...se/9299741
(06-15-2018, 09:49 AM)php_rocs Wrote: [ -> ]@n0cturn0,

Bascially you are trying to put an array object in a text field.  That's not going to work.  You will need to either convert the array to a list or string then insert it into the field.

here are some links to get you started:
https://www.hostingadvice.com/how-to/php...to-string/
https://stackoverflow.com/questions/2552...text-field
https://stackoverflow.com/questions/9299...se/9299741

thank you...Solved!!
Smile Smile
@n0cturn0,

Your welcome. Glad I could help.
Pages: 1 2