![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Cannot get this one correct and working, though simple!
From: Geoff Berrow <blthecat@ckdog.co.uk>
Date: Fri Dec 30 2005 - 17:43:02 CET
Message-ID: <E_adnTHBbOGRzyjeRVn-uA@comcast.com> from Jerry Stuckle
>>>Single quotes! Try Double.
Looking at the code again he has
echo "<a href='$i.jpg' target='main'><img src='thumb$i.jpg'></a>
Now that can't be right or he's have a parse error, so I assumed he had
echo "<a href='$i.jpg' target='main'><img src='thumb$i.jpg'></a>";
which, for $i =1 gives:-
In which case it would be in double quotes and would be expanded. In
-- Geoff Berrow (put thecat out to email) It's only Usenet, no one dies. My opinions, not the committee's, mine. Simple RFDs http://www.ckdog.co.uk/rfdmaker/Received on Tue Jan 3 03:50:36 2006 |