Answer the question
In order to leave comments, you need to log in
PHP not working in Sublime Text 3, what should I do?
Hello! Perhaps I missed something, which may make the question stupid. I trained, wrote a site in Sublime Text 3, got to php, I write: "php" I press tab, and he refuses to do anything at all, ok, I think I'll write it myself, I write: "<?php ?>" and then the next problem is - it refuses to highlight it, it also doesn't work in the browser... What should I do? The code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Добро пожаловать!</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<form action="" autocomplete="off">
Введите пароль: <br> <br>
<input type="text">
</form>
</header>
<?php
echo "Hey!";
?>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
There is a suspicion that
Maybe I missed something, namely, to install a server that will actually execute the php code, simply by opening the html / php file from the folder with the browser you will not run the script contained in the code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question