Problem with PhpStorm
Kolegi nqkoi ima li si na predstava zashto vyv PhpStorm php- code in to html -file not working but php code in to php-file is running in to browser
tova e v html - file
test.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <h1>musaka</h1> <?php $myname = 'Dragan'; echo 'My name is ' . $myname; ?> </body> </html>
browser -izpisva samo 'musaka'
==================================================================================
a kogato run -a
test.php
<?php $myname = 'dragan'; echo 'My name is ' . $myname; ?>
output: My name is dragan