Aw: Re: upload and import csv to mysql

2011-07-11 Thread Vulinux
Hi elogic, since I did the CSV Import for a customer, I can not provide any code examples, so I'm trying to explain the process a little more detailed. I can not guarantee that the following is absolutely MVC conform or that there are no better ways to do this! Assumption: A Customer wants to

Re: upload and import csv to mysql

2011-07-07 Thread elogic
Thankyou for your reply. I only started cakePHP a week or so ago and am struggling a bit. I really haven't found a sample / tutorial online that shows and works with what I need it too. Any direction you could point me in would be appreciated. Thanks again.. On Jul 6, 4:53 pm, Vulinux wrote: >

Re: upload and import csv to mysql

2011-07-06 Thread Gopinath Manimayan
Yes i too need solution for this issue On 6 Jul 2011 07:39, "elogic" wrote: > > Hi All, > > I have setup a file upload feature for my application using the below > plugin. Now that I have the csv uploading using an upload controller > and model I now need to insert the csv into a mysql table. I ha

Re: upload and import csv to mysql

2011-07-05 Thread Vulinux
Hi elogic, where exactly is your error or aren't you able to find a concept for your import? The way I did this once: Build a Behavior that is able to build an Object from the imported Csv Data (File Class is your friend). Then Import the data, call the Csv to Object method and save it to the dat