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

(06-14-2018, 07:33 AM)php_rocs Wrote: @n0cturn0,

You should see what value is in $array prior to you creating your batch query.  Your issue might be in the code below

foreach ($value['disciplinas'] as $k => $v) {
                       $array = array();
                       $array = $v;
                   }

What value is suppose to be kicked out of the foreach loop when it completes?

 tanks to reply!
I need all the values the disciplinas array!!
Reply


Messages In This Thread
difficulty with insert_batch - by n0cturn0 - 06-13-2018, 05:46 AM
RE: difficulty with insert_batch - by php_rocs - 06-13-2018, 08:16 AM
RE: difficulty with insert_batch - by dave friend - 06-13-2018, 09:46 AM
RE: difficulty with insert_batch - by n0cturn0 - 06-13-2018, 11:53 AM
RE: difficulty with insert_batch - by neuron - 06-14-2018, 01:28 AM
RE: difficulty with insert_batch - by n0cturn0 - 06-14-2018, 07:24 AM
RE: difficulty with insert_batch - by php_rocs - 06-14-2018, 07:33 AM
RE: difficulty with insert_batch - by n0cturn0 - 06-14-2018, 08:30 AM
RE: difficulty with insert_batch - by php_rocs - 06-14-2018, 10:14 AM
RE: difficulty with insert_batch - by n0cturn0 - 06-14-2018, 12:03 PM
RE: difficulty with insert_batch - by php_rocs - 06-14-2018, 03:00 PM
RE: difficulty with insert_batch - by n0cturn0 - 06-14-2018, 05:21 PM
RE: difficulty with insert_batch - by php_rocs - 06-15-2018, 08:49 AM
RE: difficulty with insert_batch - by n0cturn0 - 06-18-2018, 06:30 PM
RE: difficulty with insert_batch - by php_rocs - 06-19-2018, 07:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB