[thelist] PHP Quickie
Andrew Maynes
andrew at humanbehaviour.co.uk
Tue Aug 27 16:42:01 CDT 2002
can anyone spot why this snippet isn't pully records from a bunch of csv files
$filearray = file ("admin/databases/groups.csv");
while (list ($no, $line) = each ($filearray)) {
$s = split (";", $line);
if ($s[0] == "MAIN GROUP") echo " | <a href=\"products.php?m=". substr (md5
($s[1]), 0, 10) ."\">$s[1]</a>";
}
unset ($filearray, $no, $line, $s);
Andrew
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/02
More information about the thelist
mailing list