You are here: Re: str_replace & regular expressions question « PHP Programming Language « IT news, forums, messages
Re: str_replace & regular expressions question

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация