I wrote a simple php script to check whether my files are running properly or not. But I found out that it is running perfectly on xampp localhost server but while running my file, practice.php after uploading on profreehost only the HTML part present in it is running and the PHP part is being ignored.
Here is my PHP code :
Practising PHP<?php
echo Hey there;
?>
<form method = 'post'>
Name : <input type = 'text' name = 'name'>
Email-Id : <input type = 'text' name = 'email-id'>
<input type = 'submit' value = 'Submit'>
</form>
</body>
output :
as we can see, the PHP part in which I have echoed a message is not printed on the document.
Can anyone help me with it?