php code doesnt work, though html code works

0 danilo alba · February 18, 2015
Hi guys, i am using notepad++ and when i insert the php code, it just doesnt work.
on chrome it shows nothing, on firefox nothing, on IE shows the code.
Wampp is working fine both ports apache and mysql are running.
html code is showed, though php isnt, why is that? anybody can help?

the simple code i use for test:

echo 'test';

Post a Reply


Oldest  Newest  Rating
0 sohrab zia ✓ᵛᵉʳᶦᶠᶦᵉᵈ · February 18, 2015
put it in root folder in wampp and try, i also had same problem.
0 danilo alba · February 19, 2015
still doesnt work!! help!!!
0 danilo alba · February 19, 2015
still doesnt work! help!!
0 sohrab zia ✓ᵛᵉʳᶦᶠᶦᵉᵈ · February 19, 2015
i think you should delete the wampp and reinstall with any youtube video guide.
0 danilo alba · February 20, 2015
done everyhting which is suggested....only i dont use wamp but xampp...sorry...
on another pc it worked fine, on this one it doesnt...reallly dont understand why?
can it be a pb of compatibility?
0 Bernard Pyc0d333 Parah · February 20, 2015
in xampp you need to put it in the htdocs folder.
0 danilo alba · February 21, 2015
i know i have to put in htdos folders, still nothing...:(
0 danilo alba · February 21, 2015
o knew about skype and deactivated it before running xampp, still nothing! :(
  • 1



Server-side, HTML embedded scripting language used to create dynamic Web pages.