i html formuna bir eylem olarak php değişken değerini geçmek istiyorum. aşağıdaki gibi ben çalışıyorum, ama çalışmıyor.
<?php
$url='test.php';
?>
<html>
<body>
<form name="upload" action="<?=$url?>" method="post" >
<input type="submit" value="submit">
</form>
</body>
</html>
Tüm bu kodu bir php dosyasında var.