Re: Cannot get this one correct and working, though simple!



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
.