PHP & Java

Posted on 16th Feb 2014 by admin

Hello,

can PHP code be used inside java code?

Code: [Select]<SCRIPT LANGUAGE="JavaScript">
OpenWindow.document.write("<?php echo NotWorking; ?>")
</SCRIPT>

Something like that? That's index.php file.This is not working for me, if I replace php code with html code then it's working. I need php inside java not html:-).

Any way to do that? Thanks

Other forums