Originally Posted by Fou-Lu
If your variable is an entire line, it would cause the dateTime construction to fail as it won't consider it a valid date string. You need to separate that line up into the "columns" it originally had. Of course, using fgetcsv would perform this by itself and give you an array of each field per fetch.
I know I am troubling you lot but I have tried fgetcsv since yestarday on the above script and could not achieve the success so, can i ask you to please take some time to help me change on the above script so that I can understand how really it works...
As I always say I am yet newbie and trying to learn lot from different sources....please help me