RE: [PHP] replace question

From: Date: Sun, 05 May 2002 19:41:53 +0000
Subject: RE: [PHP] replace question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96156@lists.php.net to get a copy of this message
Are you having trouble pulling the data out of the file, or creating the link? Do you want a link created for every row? What is the makeup of the file? Is array[0] the URL, and array[1] the desription? If it's just the link you need, that's easy... echo "<a href='" . $array[0] . "'>" . $array[1] . "</a>"; ---John Holmes... > -----Original Message----- > From: Josh & Valerie McCormack [mailto:traveler@travelersdiary.com] > Sent: Sunday, May 05, 2002 8:23 AM > To: PHP-General > Subject: [PHP] replace question > > I'm iterating through a CSV file pulling in rows as arrays with fgetcsv > and I'd like to search for patterns made up of the first two array items > of each row with a space between them in a text file, and make them into > links. I can't figure out how to do this, could someone help? > > Josh > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#96156) next »