PHP & Java


Posted on 16th Feb 2014 07:03 pm 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

No comments posted yet

Your Answer:

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

New Login Script
Hi all, i attempted to create a whole new login script witch isnt working for some reason i dont kno

PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date whi

Is STL important?
I'm just starting programming and I've made it until the Standart Template Library. But the chapter

A href problem under php
Hello...

I tried to explain the issue in an earlier post.. but was not clear enough....

Unifying logins of two different scripts
I have two different game scripts which I want to embed on my own site. The problem is I don't want

Am i doing this wrong?
Im pulling from an Oracle database some info... one of which is a field count_pnums which is a NUMBE

Create comparison matrix?
I want to create a comparison script for forum software and was wondering is there any tutorial or b

Help adding strtolower( to my in_array
strtolower i need to add it to this to work, iuno how.

Code: $moderators = array('Admin', 'ba

Array disappearing in foreach loop
Okay, I have this problem where an array will become undefined in a foreach loop.

Here is the

Need help with simple code, back and forward buttons.
Basically, I have a set of pages in a folder, which have the title somephrasehere_09.php, somephrase

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