[thelist] php display "" '' / gif?
Wil Cone
wil at inaridesign.com
Sun Mar 9 12:41:01 CST 2003
Andrew,
Unless I'm mistaken, all you need to do is get rid of the ' after .gif
Your code reads like:
echo ("<img...") + ($County) + (".gif") followed by >" ... i.e. too many
quotes
- hope this helps
- Wil
-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org] On Behalf Of Andrew
Sent: Sunday, March 09, 2003 12:16 PM
To: Thelist at Lists. Evolt. Org
Subject: [thelist] php display "" '' / gif?
I have a line of code that displays an image for example:
echo "<img src=\"$Relative/images/Clover".$County . '.gif'>";
however the image wdoesn't show?
If I have:
/* Image here */
echo "<img src=\"$Relative/images/Clover/".$County."\">";
/* Image will END here */
The image shows but *** the image will only show if it has *no* file
extention :(
I want a file extention .gif any ideas where the code is tricking me :)
Andrew
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list