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

Posted by Mickey on 10/11/41 11:47

Hi folks,

I am just writing to ask for help with something i'm trying to do with
a string.

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 />

I have tried using PHP's str_replace function but I still can't seem to
get it right.

Does anyone know what I need to do to accomplish this?

Thank you all in advance.

Mikey

 

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

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