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 Jerry Stuckle on 09/30/42 12:00

Jeff Gaines wrote:
> 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"
>
>

Or you could make it easier on yourself:

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

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.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

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