I have this form on my website:
<div class="searchBar">
<form action="searchDB.php" method="get">
<input type="text" class="searchBarInput" bdo dir="rtl" name="k">
<input type="image" class="searchBarIcon" src="../images/searchBarIcon2.png" border="0" alt="Submit" />
</form>
</div>
and when I press "enter" or press the icon. the searchDB.php file is being downloaded instead of running the php file..
here's the code inside the php(its only for checking the mechanics of the connection between php and HTML..)
<?php
echo"This is a php file!";
?>
PS Ive tried downloading WAMP and installing it, nothing heppend. and I follows a tutorial on youtube about how to install PHP on your computer, nothing changed there aswell.. anything I can do?