Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: I can not pass array loop for view
Post: I can not pass array loop for view

I can not pass array loop for view.   each result has one or more positions, however pass in view one position. I used, example: $data['atualiza'] = $totaliza; $this->load->view(myView, $data);...
1,951 Views
1 Replies
11-08-2018, 04:00 AM
n0cturn0
    Thread: grocery crud / Ci 3
Post: RE: grocery crud / Ci 3

jreklund Wrote: (06-19-2018, 08:01 AM) -- You want veiculos to insert the current logged in user id? https://www.grocerycrud.com/documentation/options_functions/callback_before_insert https://www...
5,401 Views
4 Replies
06-19-2018, 08:28 AM
n0cturn0
    Thread: grocery crud / Ci 3
Post: RE: grocery crud / Ci 3

jreklund Wrote: (06-18-2018, 11:54 PM) -- You should use where if you want to limit the results: https://www.grocerycrud.com/documentation/options_functions/where -- my problem is need id user tog...
5,401 Views
4 Replies
06-19-2018, 06:52 AM
n0cturn0
    Thread: grocery crud / Ci 3
Post: grocery crud / Ci 3

hi guys!! i have value in $id.  how to pass the parameter $id $user = $this->ion_auth->user()->row(); $id = $user->id; public function testeveiculos()     {                 $crud = n...
5,401 Views
4 Replies
06-18-2018, 06:42 PM
n0cturn0
    Thread: difficulty with insert_batch
Post: RE: difficulty with insert_batch

php_rocs Wrote: (06-15-2018, 08:49 AM) -- @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 lis...
17,007 Views
14 Replies
06-18-2018, 06:30 PM
n0cturn0
    Thread: Question - What is the best crud library
Post: RE: Question - What is the best crud library

lzomedia Wrote: (06-15-2018, 07:57 AM) -- Quick question , what is the best crud library to use in CodeIgniter -- i like grocerycrud!!!
3,015 Views
2 Replies
06-15-2018, 09:35 AM
n0cturn0
    Thread: difficulty with insert_batch
Post: RE: difficulty with insert_batch

php_rocs Wrote: (06-14-2018, 03:00 PM) -- @n0cturn0, What is the field type of disciplinas? -- hi! @php_rocs tis this public.cmcg_controleaps  disciplina text; :-/ tanks!
17,007 Views
14 Replies
06-14-2018, 05:21 PM
n0cturn0
    Thread: Session_files_driver.php
Post: RE: Session_files_driver.php

BabalooAye Wrote: (06-14-2018, 01:16 PM) -- I am getting an internal apache server error when activating the session driver. By examining my '/var/lib/php/sessions', I have discovered that the sessio...
4,499 Views
3 Replies
06-14-2018, 01:27 PM
n0cturn0
    Thread: difficulty with insert_batch
Post: RE: difficulty with insert_batch

php_rocs@n0cturn0 While you may need all the values in the array the field in the database may be expecting a string value instead of an array object.  This is why I recommend that you see what val...
17,007 Views
14 Replies
06-14-2018, 12:03 PM
n0cturn0
    Thread: difficulty with insert_batch
Post: RE: difficulty with insert_batch

php_rocs Wrote: (06-14-2018, 07:33 AM) -- @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['disci...
17,007 Views
14 Replies
06-14-2018, 08:30 AM
n0cturn0
    Thread: difficulty with insert_batch
Post: RE: difficulty with insert_batch

neuron Wrote: (06-14-2018, 01:28 AM) -- If look user to error message you can see that one of values you set is array: Error Number: ERROR: syntax error at or near "," LINE 1: ..., "trimestre", "tu...
17,007 Views
14 Replies
06-14-2018, 07:24 AM
n0cturn0
    Thread: difficulty with insert_batch
Post: RE: difficulty with insert_batch

Not success, only now inserting the first value the 'trimestre' array: the code changed.. Tanks guys!! foreach ($alunos as $key => $value) {                                          foreach...
17,007 Views
14 Replies
06-13-2018, 11:53 AM
n0cturn0
  Sad Thread: difficulty with insert_batch
Post: difficulty with insert_batch

hi guys.. I'm having a hard time, to insert the array, with the format Array (    [nraluno] => 3745    [nomeguerra] => ARTHUR COMPANS    [nrmat] => 36422    [serie] => 6º    [trimestre...
17,007 Views
14 Replies
06-13-2018, 05:46 AM
n0cturn0

Theme © iAndrew 2016 - Forum software by © MyBB