I'm trying to create a test webpage that has a hyperlink to another page. That page calls a php script that queries a mysql table.
The first page is called hello-world.HTML
The second page is called select.php
The HTML code is
<li><a href="select.php">PHP Page</a></li>
When I click on PHP Page
, instead of opening it downloads the page.
Note, I am using cloud 9 IDE. Both hello-world.HTML and select.php are in same folder. Moreover, when I execute select.php individually it generates the page and successfully retrieves records from mysql.
How I can resolve this?