You are here: Re: Cannot get this one correct and working, though simple! « PHP Programming Language « IT news, forums, messages
Re: Cannot get this one correct and working, though simple!

Posted by Oli Filth on 12/30/05 18:40

comp.lang.php said the following on 30/12/2005 16:16:
> Jofio wrote:
>
>>
>>But my problem is that part of the code ...<img src='thumb$i.jpg'> ...
>>
>
> The problem lies in the way you embedded $i. PHP thinks you have a
> variable literally called "$i.jpg" since a period is a valid implied
> variable name character.
>

Umm, no... Who told you that?

The problem is the use of single quotes rather than double quotes.

--
Oli

 

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

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