[thelist] replace text link with image php

Andrew Maynes andrew at uk-webdeveloper.co.uk
Mon Apr 15 09:57:07 CDT 2002


no that isn't it.. I have a csv file with this in it

MAIN GROUP;Fresh Vegetables & Fruit Boxes;

GROUP;vegetable Boxes;

GROUP;Green Vegetables;

GROUP;Fruit;

END;

this is the main group.csv

then there are other csv files with info for the group

GROUP;Fresh Vegetables & Fruit Boxes;
NAME;1;VEGETABLE BOX;
OPTION1;0;-;-;
OPTION2;1;-;-;
PRICE;9.50;
OFFER;-;
WEIGHT;-;
PIC1;-;
PIC2;-;
TEXT;Each week the box contains 8-9 types of seasonal vegetables such as
potatoes, carrots, spinach, broccoli, parsnips, tomatoes, courgettes, leeks, red
pepper, mushrooms, celeriac, swede, chard and many more. Price includes
delivery.;
END;


the link on the page gets pulled by the php code

if (!$g) $g = substr (md5 ($s[1]), 0, 10); 			$show++;

			if ($show != 1) echo " | ";

			echo "<A href=\"products.php?m=$m&g=". substr (md5 ($s[1]), 0, 10)
."\">$s[1]</A>";


which displays the test as a link what i want to do is call an image that
represents the text?  does this sound possible?

andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of J. Scott Johnson
Sent: Monday, April 15, 2002 03:48
To: thelist at lists.evolt.org
Subject: RE: [thelist] replace text link with image php


I'm not 100% sure I understand but why not include a small GIF between the
anchor tags to indicate its a picture.  Another option is a thumbnail.

Is that what you're asking?

Scott

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Andrew Maynes
Sent: Monday, April 15, 2002 10:43 AM
To: thelist at lists.evolt.org
Subject: [thelist] replace text link with image php


I have a php script that calls links from a csv file is there a way to
represent
the text links as images here is the code calling the categories


if (!$g) $g = substr (md5 ($s[1]), 0, 10); 			$show++;

			if ($show != 1) echo " | ";

			echo "<A href=\"products.php?m=$m&g=". substr (md5 ($s[1]), 0, 10)
."\">$s[1]</A>";


andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/02


--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/02





More information about the thelist mailing list