Hi All,
I want to call a php function when user clicks on a link.
Here is my code please help me out.
PHP function
function createLink()
{
//creates symlink to the video file
return $url;
}
HTML code
<a href="<?=createLink()?>" >play</a>
It is creating a symlink on pageload but i don't want that until user clicks the link.
Any help.
Thank you and looking for solution.
Raj