Really weird, the php is ignoreing the second quote mark...its acting
like its escaped or not a quote mark at all.
I dont think this has anything to do with GWT...the PHP happens on the
sever long before gwt is run (on the client).
Try writing the php as
<?php
$test = 5;
echo "<h1>ABC</h1>"+$test;
?>
Do you get ABC5 or ABCtest; ?
On May 28, 9:31 am, bencoder <[email protected]> wrote:
> Hi all,
>
> I have a GWT application and need to integrate it with an existing PHP
> code.
> Hence, I embed the PHP code directly into the host HTML page which
> looks like below:
>
> <body>
> <iframe src="javascript:.......................................></
> iframe>
> <?php echo"<h1>ABC</h1>";?>
> </body>
>
> The result page is shown below and seems there is an error:
>
> ABC
> ";?>
>
> In conclusion, how can I embed my PHP source code into one GWT
> application?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---