Posted by Vincent Courcelle on 10/01/19 11:47
Mickey a écrit :
> I have a filename, for instance 'file.txt'.
> However i'd like to make a script to take that file name and return it
> as something like:
> <a href= javascript:function('file.txt')>file.txt</a><br />
Hello,
It seems to easy to be what you expect but I try :
function getLink($filename)
{return "<a
href=\"javascript:function('".$filename."')\">".$filename."</a><br />";}
--
Vincent Courcelle
http://www.tubededentifrice.com et http://www.france-jeunes.net
Navigation:
[Reply to this message]
|