Skinner2001 Posted February 17, 2011 Share Posted February 17, 2011 Hi I am trying to use this function to upload a CSV-format baseball schedule. I copied the example code from the manual website and it worked fine, printing out the contents, array style. I then added my code to the middle of this which just does a bit of analysis of dates and times for unix-style and then writes the stuff into a MySQL DB. It didn't work any more. As soon as I try to use fgetcsv it won't work. PLEASE HELP I have pulled all my remaining hair out! I checked my code with a magnifying glass but any hint of my code near fgetcsv stops the page loading. [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted February 17, 2011 Share Posted February 17, 2011 any errors reported? when you View Source, is there no content at all or any errors at the bottom? Quote Link to comment Share on other sites More sharing options...
Skinner2001 Posted February 19, 2011 Author Share Posted February 19, 2011 OK I fixed it - was this: $field = $data['field') Thanks for caring. Off to buy a wig now... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.