<div id = "info">
<div class="portlet-body">
<?php include('mysqlreader.php');?>
</div>
I want to call php file (mysqlreader.php) in div, mysqlreader.php is in same repository where my actual file is, I tried above mentioned code. But it is not working. what is the proper way to call .php file in html.
Edit: The file's extension I am using for this, is in fact .php
.htmlor.php? It has to be named.phpunless you've changed your config to run HTML files through PHP.