Welcome Guest, Not a member yet? Register   Sign In
No like in getResultArray
#5

(08-09-2018, 02:09 AM)John_Betong Wrote: Where what was the print_r(...); statement inserted?

It looks as though the connection to the database failed.

Oh sure...

Code:
Modules\Parts\Models\PartsModel Object
(
   [table:protected] => par
   [primaryKey:protected] => pid
   [useTimestamps:protected] => 1
   [validationRules:protected] => Array
       (
       )

   [validationMessages:protected] => Array
       (
           [number] => Array
               (
                   [is_natural] => Ups i did it again.
               )

           [0] =>
       )

   [pager] =>
   [DBGroup:protected] =>
   [returnType:protected] => array
   [useSoftDeletes:protected] =>
   [allowedFields:protected] => Array
       (
       )

   [dateFormat:protected] => datetime
   [createdField:protected] => created_at
   [updatedField:protected] => updated_at
   [tempUseSoftDeletes:protected] =>
   [deletedField:protected] => deleted
   [tempReturnType:protected] => array
   [protectFields:protected] => 1
   [db:protected] => CodeIgniter\Database\MySQLi\Connection Object
       (
           [DBDriver] => MySQLi
           [deleteHack] => 1
           [escapeChar] => `
           [mysqli] =>
           [DSN:protected] =>
           [port:protected] => 3306
           [hostname:protected] => localhost
           [username:protected] => root
           [password:protected] =>
           [database:protected] => host_ls
           [subdriver:protected] =>
           [DBPrefix:protected] => ls_
           [pConnect:protected] =>
           [DBDebug:protected] => 1
           [cacheOn:protected] =>
           [cacheDir:protected] =>
           [charset:protected] => utf8
           [DBCollat:protected] => utf8_general_ci
           [swapPre:protected] =>
           [encrypt:protected] =>
           [compress:protected] =>
           [strictOn:protected] =>
           [failover:protected] => Array
               (
               )

           [lastQuery:protected] =>
           [connID] =>
           [resultID] =>
           [protectIdentifiers] => 1
           [reservedIdentifiers:protected] => Array
               (
                   [0] => *
               )

           [likeEscapeStr] =>  ESCAPE '%s'
           [likeEscapeChar] => !
           [dataCache] => Array
               (
               )

           [connectTime:protected] =>
           [connectDuration:protected] =>
           [pretend:protected] =>
           [transEnabled] => 1
           [transStrict] => 1
           [transDepth:protected] => 0
           [transStatus:protected] => 1
           [transFailure:protected] =>
           [aliasedTables:protected] => Array
               (
               )

       )
Reply


Messages In This Thread
No like in getResultArray - by Nome - 08-08-2018, 02:00 PM
RE: No like in getResultArray - by John_Betong - 08-08-2018, 11:18 PM
RE: No like in getResultArray - by Nome - 08-09-2018, 01:58 AM
RE: No like in getResultArray - by John_Betong - 08-09-2018, 02:09 AM
RE: No like in getResultArray - by Nome - 08-09-2018, 03:05 AM
RE: No like in getResultArray - by John_Betong - 08-09-2018, 08:40 AM
RE: No like in getResultArray - by Nome - 08-09-2018, 11:54 AM
RE: No like in getResultArray - by John_Betong - 08-09-2018, 11:33 PM
RE: No like in getResultArray - by puschie - 08-10-2018, 12:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB