PHP & Java


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

can PHP code be used inside java code?

Did you know?Explore Trending and Topic pages for more stories like this.
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
No comments posted yet

Your Answer:

Login to answer
195 Like 31 Dislike
Previous forums Next forums
Other forums

ORA-01655: unable to extend cluster SYS.C_FILE#_BLOCK# by 128
Hi all,

Oracle 10g. Linux.

I'm facing the below error while trying to import a dumpfil

Getting PHP to ammended the selected in option field
Hey Guys

thanks for everyones help so far. This site and its users are oozing awesomness.

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

Optimize Code
Just started getting into the use of cookies. The following code will redirect users to a set URL s

TabControl Inside ListView Not Editing
Hello everybodyI have a ListView on my page. Inside the ListView I put a TabControl, cuz I want to p

Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr

PHP Captcha Error help - replace the "die" command
Hi All,

I am after a bit of help with a Captcha spam protection box.

The site gave me

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

PHP header help!
Hi all I am trying to get this php page to refresh every 5 seconds on my phone which is an aastra 48

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



Play Free Quiz and Win Cash