AW: [PHP] JS and PHP
| From: | Lutz Seidenfaden | Date: | Wed, 27 Sep 2000 15:38:39 +0000 |
| Subject: | AW: [PHP] JS and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17725@lists.php.net to get a copy of this message | ||
HI,
you can gernerate your js-code with php because php is processed before JS.
e.g. echo "javascript: jscommand $phpvar";
This generates JS-Code using php-var's
regards
Lutz
-----Ursprungliche Nachricht-----
Von: Anna [mailto:AnnaM@i-dizains.lv]
Gesendet: Mittwoch, 27. September 2000 15:40
An: php-general@lists.php.net
Betreff: [PHP] JS and PHP
is there vay to pass variables from php to javascript function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net