RE: [PHP] Can PHP and Java work together?

From: Date: Fri, 31 Aug 2001 14:44:08 +0000
Subject: RE: [PHP] Can PHP and Java work together?
Groups: php.general php.windows 
Request: Send a blank email to php-general+get-65477@lists.php.net to get a copy of this message
Jack, Yes this is possible. I assume you want to use a javascript onClick event function. Then in your javasript code, just execute your PHP code. You can run PHP code within a javascript block. For example, on my site I assign a javascript variable to the value held in a PHP variable like this: var jstitle = <? print("\"" . $article_array[1][0] . "\""); ?>; Good luck, Johan Which World? www.pongworld.com -----Original Message----- From: Jack [mailto:jack@nedcor.com] Sent: Friday, August 31, 2001 2:13 AM To: php-general@lists.php.net; php-windows@lists.php.net Subject: [PHP] Can PHP and Java work together? Dear all I want to ask if i want to perform two task after the user had click a button, 1 is the task perform by PHP 2 is the task perform by JavaScript is it possible to do so? I'm actually fresh on JavaScript, before i would call the JavaScript, what should i do first or what should i set before though? Thx Jack jack@nedcor.com -- 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

« previous php.general (#65477) next »