Skip to main content


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 11:08 Go to next message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen ParamitaFriend
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] Mon, 28 May 2012 02:22 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
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 10:05 Go to previous message
I Nyoman Hellen Paramita is currently offline I Nyoman Hellen ParamitaFriend
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 Apr 26 11:33:10 GMT 2024

Powered by FUDForum. Page generated in 0.03093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top