Dear all,
My intention is to execute/eval a PHP and sc macro where the codes are retrieve from DB table called “logic”
My code in logic
sc_exec_sql(“UPDATE temp SET col = ‘abcd2’”);
Here is the error generated by sc
Error_log
0| [16-Dec-2014 15:49:04 America/Denver] PHP Fatal error: Call to undefined function sc_exec_sql() in /home4/astudion/public_html/sc.astudion.com/sc8/app/VirtualDesk/UpdateTempTable/index.php(913) : eval()'d code on line 1
1|
It’s a valid command bcoz it executed when I run it directly via my blank app.
Kindly advise me as it’s a very important function for my app.
Thanks you