Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Can't write php code in html file(I can't write php code in html file but I can write html in php file)
Can't write php code in html file [message #877672] Sun, 27 May 2012 07:08 Go to next message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen Paramita
Messages: 5
Registered: February 2012
Location: Bali
Junior Member

Hi guys,

I have problem while write php script in html file. Here is the scenario:
- I create new file that is index.html with the transitional doctype
- I include php code <?php ?> in index.html
- My eclipse don't know my <?php ? code in index.html

Does anyone know how it happen? I used Eclipse Helios PDT, please guide me to solve this problems.

Thanks in advance
Re: Can't write php code in html file [message #877892 is a reply to message #877672] Sun, 27 May 2012 22:22 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro Izumi
Messages: 345
Registered: July 2009
Location: Japan
Senior Member
FYI
Eclipse PDT isn't highlighting PHP syntax in .html files? - Stack Overflow
Re: Can't write php code in html file [message #878014 is a reply to message #877892] Mon, 28 May 2012 06:05 Go to previous message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen Paramita
Messages: 5
Registered: February 2012
Location: Bali
Junior Member

It's work, thanks Toshihiro
Previous Topic:Indentation guide like notepad++
Next Topic:Eclipse opens multiple remote debug sessions - xdebug
Goto Forum:
  


Current Time: Fri Aug 22 04:05:11 EDT 2014

Powered by FUDForum. Page generated in 0.01575 seconds