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

(08-08-2018, 11:18 PM)John_Betong Wrote: I would first start with the Class and check the return values to ensure that the script returns exactly what you expect then continue to the next variable:
PHP Code:
$model = new \Modules\Par\Models\ParModel();

echo 
'<pre>';
print_r($model);
echo 
'</pre>';
die; 

This only added questions). Why is my request written in the manual triggered and this one is not? After all, the requested data exists, there is a table `par` and a column `title`... Should an empty response cause an error?

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

           [likeEscapeStr] =>  ESCAPE '%s'
           [likeEscapeChar] => !
           [dataCache] => 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