PDA

View Full Version : A simple question, somebody please help!!


HappyTomato
11-26-2002, 10:40 PM
Is it possible to call a java function from within php codes?? (ie within the <?php ?> tags.... if so, how??

Or, can you do this the other way round?? and if so... how?...

Any help will be appreciated!! :rolleyes:

Thank you in advance



Bo&Vic :thumbsup:

Spookster
11-27-2002, 02:51 AM
PHP executes on the server and Javascript executes on the client machine. They cannot interact with each other in that way.

You can print the javascript out

<?php
echo "<script>alert(\"yaks\")</script>";
?>