I see this, $eo, at the end of some (maybe all) SQL statements, but what does it mean?
Buck
What is the purpose of this little guy... "$eo"
Re: What is the purpose of this little guy... "$eo"
From incCommon.php
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.
*/
/Giuseppe
Professional Outsourcing Services
Professional Outsourcing Services
Re: What is the purpose of this little guy... "$eo"
DevGiu...
Thank you,
Buck
Thank you,
Buck
Re: What is the purpose of this little guy... "$eo"
Can someone show me the usage of this
Maybe
$res = sql($query, $eo);
Becomes
$res = sql($query, 'silentErrors');
Maybe
$res = sql($query, $eo);
Becomes
$res = sql($query, 'silentErrors');
Re: What is the purpose of this little guy... "$eo"
Code: Select all
$eo = ['silentErrors' => true];
$res = sql($query, $eo);

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
Re: What is the purpose of this little guy... "$eo"
Thanks @agneady