私はこの非常に単純なコードを持っています。私は入力をクリックするとgoogleに行くはずですが、PHPコードは空白の画面にポップアップします。それは実行されません?PHPファイルはHTMLから実行されません
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<form name="form" action="test.php" method="get">
<input type="text" name="subject" id="subject" value="Car Loan">
</form>
</body>
</html>
<?php header('Location: http://google.dk') exit; ?>
私はこの2つのファイルが異なると推測していますか? – Swellar