<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Jun 11, 2015 at 4:53 PM, Nisarg Jhaveri <span dir="ltr"><<a href="mailto:nisargjhaveri@gmail.com" target="_blank">nisargjhaveri@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>Is there any common/standard way by which we can access configuration options (or in general a PHP variable) in JS? If not, what is the best way to do so?</div><div><br></div></div></blockquote><div>You can define them in getJsParams() in libraries/Header.class.php.. It is documented at [0]</div><div><br></div><div>[0] <a href="https://wiki.phpmyadmin.net/pma/Page_loader#Accessing_common_parameters_via_JS">https://wiki.phpmyadmin.net/pma/Page_loader#Accessing_common_parameters_via_JS</a></div><div><br></div><div><br></div><div>--<br></div><div>Regards</div><div><br></div><div>Atul Pratap Singh</div></div></div></div>