have run this code
it echos out a long list of all the records as follows;
INSERT INTO tblClient (ClientId, ConcesRef, CoName, Addr1, Addr2, Addr3, Town, County, Postcode, Phone, Fax) VALUES ('43', '1', 'Happy Joes Eatery', 'Food street', '', '', 'Hamburg', '', '', '01234 567896', '') INSERT INTO tblClient (ClientId, ConcesRef, CoName, Addr1, Addr2, Addr3, Town, County, Postcode, Phone, Fax) VALUES ('1', '1', '888ire 777 Ltd', 'vilions', ' Close, Amington', 'Tamworth', '', '', 'B77 P', '018 *20', '') etc.etc.etc.
So it is reading the file OK.
As an aside, whilst we have been working on this I tried adding the data through phpMysqlAdmin using;
LOAD DATA INFILE '$file' INTO TABLE tblClient FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' ESCAPED BY '\' LINES TERMINATED BY '\r\n'"
Originally I had a problem with password permissions but this has now been resolved by the hosts' admin, but it still doesn't add the data from the .csv file.and gives an error message 'Duplicate entry '43' for key 1'
Frankly I am baffled !!