
17 Jul
2017
17 Jul
'17
7:44 p.m.
Hi Manish Bisht píše v Po 17. 07. 2017 v 21:52 +0530:
I found three ways to execute the query. What is the difference between these. $GLOBALS['dbi']->query($sql_query); $GLOBALS['dbi']->tryQuery($sql_query); PMA_queryAsControlUser($sql_query);
What is the difference between these. What I know is query() returns error and tryQuery() doesn't returns error.
And PMA_queryAsControlUser is just wrapper around these two: https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/relation .lib.php#L27 -- Michal Čihař | https://cihar.com/ | https://weblate.org/