PHP & Java


Posted on 16th Feb 2014 01:33 pm by admin

Hello,

can PHP code be used inside java code?

Code: <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

No comments posted yet

Your Answer:

Login to answer
73 Like 43 Dislike
Previous forums Next forums
Other forums

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

animation progress while uploading files?
Hello, i have some website form to upload few files to server. i want to put some gif animation whi

Sending a hyperlink through mail
HI all,
I am sending a mail to outlook mailbox of a user using FM SO_NEW_DOCUMENT_ATT_S

Strange array issue, never happened before.
mysql_fetch_array returns 1 array per call. Generally that's why it is inserted into a while statem

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS