0

How do I implement PHP into my html file on Notepadd++?

I've just started learning PHP and have am making a technology website side project on my laptop to learn it further. I have html, CSS and Javascript in the code and that all works fine, but when I add PHP into the code nothing appears in the browser. Do I have to install PHP or something or add an extension into the browser for it to work? Would be really grateful for some help, thanks guys.

22nd May 2017, 8:19 AM
Harry
Harry - avatar
4 ответов
+ 2
have you try xampp? i used it for PHP in my laptop
22nd May 2017, 8:23 AM
Setiawan Next
Setiawan Next - avatar
+ 2
I bought hosting for this. If you don't want to buy it - just get free hosting, it's plenty of them in internet. I love this way, that brings special feeling, lol ... If you don't really want to be involved with hostings - then just install xampp thing ...
22nd May 2017, 8:35 AM
VendeTTa
VendeTTa - avatar
+ 2
Wnidows - install Xampp or Wamp Mac - install MAMP server Linux - Install LAMP server just google for installation instructions
22nd May 2017, 9:05 AM
Apel Mahmod
Apel Mahmod - avatar
0
Ok thanks guys, I've downloaded xampp and got it to work with PHP, JS and html. However now my CSS won't appear in the browser. Is there a way to get it to appear, or a simple way to add my PHP to the code in notepad++ so it works like with the <script> tag to add javascript?
22nd May 2017, 10:54 AM
Harry
Harry - avatar