0
Answer

How to call a php file in Joomla component

Photo of Vineet Kumar Saini

Vineet Kumar Saini

12y
1.8k
1
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.
 

Answers (0)