[Phpmyadmin-devel] javascript and php interaction

Alain alain at brissaud.com
Wed Jun 27 16:56:23 CEST 2001


>I would like to call the php function db_name() with
>the js db variable. How can I switch to php into the js code?

You can't ...
But you can make a javascript function doing what the php function db_name() does (using MYSQL_MAJOR_VERSION and MYSQL_MINOR_VERSION defined as javascript variables via php).

Alain.

_______________________________________________________
 




More information about the Developers mailing list