Re: Cannot get this one correct and working, though simple!
- From: Oli Filth <catch@xxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 16:40:33 GMT
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 .
- Follow-Ups:
- Re: Cannot get this one correct and working, though simple!
- From: Oli Filth
- Re: Cannot get this one correct and working, though simple!
- References:
- Cannot get this one correct and working, though simple!
- From: Jofio
- Re: Cannot get this one correct and working, though simple!
- From: comp.lang.php
- Cannot get this one correct and working, though simple!
- Prev by Date: Re: Cannot get this one correct and working, though simple!
- Next by Date: Re: Cannot get this one correct and working, though simple!
- Previous by thread: Re: Cannot get this one correct and working, though simple!
- Next by thread: Re: Cannot get this one correct and working, though simple!
- Index(es):