How to call a php file in Joomla component
Hi Friends..
I creating a component in joomla, i want o call a php file on button click in joomla component ? Please tell me how to call php file on button click in joomla component ? Please help me ?
my code is
window.location.href="file_get_contents('.JPATH_BASE.'/pdffile.php)?id=<?php echo $dd; ?>";
Thanks.