PHP & Java


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

foreach help.
Hello all,

First time I'm attempting to use a foreach statement and was just wondering if my

Displaying image from database
Hi,

I've got a site where that's got a database behind it. Currently it has loads of items in

Bluetooth RSSI & VIsta
Okie I got 4 Bluetooth adapters, a DBT-120 by Dlink, A Zonet Microsoft Bluetooth which is what I use

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

Inserting 100x and 100y coordinates in mysql table - easy
Is there a way to insert this data into a mysql table named 'map' with the fields: 'x int 3' , 'y in

UL and LI Add Form
The idea I want here is when the user click on a character name from the drop down select bar at the

difference between datetimes
($row['totime']-$row['fromtime'])/60

this is giving me 0

example of totime and fromtim

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

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