What is the purpose of this little guy... "$eo"
Posted: 2016-08-31 06:27
I see this, $eo, at the end of some (maybe all) SQL statements, but what does it mean?
Buck
Buck
A place where AppGini users can exchange ideas and help each other.
https://forums.appgini.com:443/phpbb/
https://forums.appgini.com:443/phpbb/viewtopic.php?f=2&t=2209
Code: Select all
function sql($statment, &$o){
/*
Supported options that can be passed in $o options array (as array keys):
'silentErrors': If true, errors will be returned in $o['error'] rather than displaying them on screen and exiting.
*/
Code: Select all
$eo = ['silentErrors' => true];
$res = sql($query, $eo);