[Phpmyadmin-devel] Zoom Search

Michal Čihař michal at cihar.com
Fri Jun 17 10:23:06 CEST 2011


Hi

Dne Fri, 17 Jun 2011 10:13:07 +0200
Tyron Madlener <tyronx at gmail.com> napsal(a):

> For the chart export to work you'll need to define the a js variable
> in your php code like this:
> 
> <script type="text/javascript">
> pma_token = '<?php echo $_SESSION[' PMA_token ']; ?>';
> </script>
> 
> ...or maybe we could put this into header.inc.php?

I think it should rather go to js/messages.php, though it's name does
not suggest it. We anyway use it for almost all data needs to be passed
to javascript and do not change during one session.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20110617/45b03ec5/attachment.sig>


More information about the Developers mailing list