Welcome Guest, Not a member yet? Register   Sign In
difficulty with insert_batch
#11

@n0cturn0,

What is the field type of disciplinas?
Reply
#12

(06-14-2018, 03: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!
Reply
#13

(This post was last modified: 06-15-2018, 08:50 AM by php_rocs.)

@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
Reply
#14

(06-15-2018, 08: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
Reply
#15

@n0cturn0,

Your welcome. Glad I could help.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB