call to php function from html page the again assign it to html using Smarty templates
===

I am stuck at this point . I have a Php file **adm.php** and i am using **SMARTY** and assigning all php variables to HTML template (**adm.html**). 
Now from HTML page on OnClick event of button i want to call a php function in **adm.php**
and open a file and return the contents of file to HTML file and display it in modal window 