Tekstfil til array
Hej,Er der nogen, der kan hjælpe mig med at lave en stump kode, som åbner en SQL fil og indlæser værdierne fra hver linje i en array?
Her er et eksempel på indhold (de første 3 rows).
På forhånd tak.
VH
Anders
INSERT INTO `articles` VALUES (1, 3, 'Rotating sunrays animation', 'How to create a crazy rotating sunray animation with adobe flash.', 'http://www.good-tutorials.com/images/icons/29086.jpg', 'jonespr', '1214303402', 'http://www.good-tutorials.com/track/29086', 'rotating-sunrays-animation', '2008-06-26 00:41:33', 0);
INSERT INTO `articles` VALUES (2, 3, 'Picture me effect', 'This thoroughly explained, detailed lesson will show you how to create attractive picture effect using some special flash tips and tricks.', 'http://www.good-tutorials.com/images/icons/29001.jpg', 'Kreso', '1214002802', 'http://www.good-tutorials.com/track/29001', 'picture-me-effect', '2008-06-26 00:41:33', 0);
INSERT INTO `articles` VALUES (3, 3, 'Circular image presentation by mask', 'Using this tutorial, you will see how to create very practical image presentation using a mask.', 'http://www.good-tutorials.com/images/icons/28952.jpg', 'Kreso', '1213999202', 'http://www.good-tutorials.com/track/28952', 'circular-image-presentation-by-mask', '2008-06-26 00:41:33', 0);
