+ 1
I need little help about PHP coding
I write some code in in PHP through Dreamweaver and then save it when I execute the .PHP file in my browser then it will only show only what I write in HTML tags but not the php coding or anything can anyone guide men why this is happening?
6 ответов
+ 24
PHP runs on a server. You need to run this code on your local server (Apache, OpenServer or built-in PHP server).
+ 2
After you download and run xampp, go to the xampp directory and inside will be a www folder. Put the php files there and then go to your browser and enter "localhost/your-php-filename.php"
+ 1
thanks for your help guys
0
how can I run through xampp my file?
0
Note: if you turn off xampp, you won't be able to run the script until you turn it back on.
0
Anytime