I am not able to get where to pass ajax_request in the GET or POST parameter or it is different.

I am doing something like this to get the JSON response.

$.ajax({
 url: "progress.php"
}).done(function() {
//success
});

How to pass ajax_request in this request.

Manish Bisht


On Mon, Jul 17, 2017 at 11:14 PM, Michal Čihař <michal@cihar.com> wrote:
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/

_______________________________________________
Developers mailing list
Developers@phpmyadmin.net
https://lists.phpmyadmin.net/mailman/listinfo/developers