You are here: Re: Append file ext to returned query « PHP Programming Language « IT news, forums, messages
Re: Append file ext to returned query

Posted by Jeff Gaines on 09/29/33 12:00

On 17/01/2008 in message <6dIjj.49118$Hc3.20300@newsfe1-gui.ntli.net>
Mikii wrote:

>Thanks Richard for reading:
>echo "<li><a href=\"". $filename . ". html" "\">". $filename."</a></li>\n"
>
>gives parse error unexpected T_CONSTANT_ENCAPSED. Is this an escaping
>issue?

I would say you need another full stop / period in there after . ".html"

echo "<li><a href=\"". $filename . ". html" . "\">". $filename."</a></li>\n"

or you could run it together:

echo "<li><a href=\"". $filename . ". html\">". $filename."</a></li>\n"


--
Jeff Gaines Damerham Hampshire UK
That's an amazing invention but who would ever want to use one of them?
(President Hayes speaking to Alexander Graham Bell on the invention of the
telephone)

 

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

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