Hi,

There is a custom table which consists 4 fields. ID, NAME etc., I want to import data through CSV using feeds module. So that I found below link

https://www.drupal.org/sandbox/Pierco/1885278

But it is under development and not working properly (Instead of updating rows always creating new row even if had configuration with unique field).

Can anyone please tell me, is there any module to import data from csv to our custom table.

Thanks.

Comments

joshi.rohit100’s picture

Well you have mentioned two different things. First you mentioned that you want to import data from CSV using feeds. I mean that's not clear. Second you mentioned that you want to import data from CSV file.

Now If second is right one, then to import into ur custom table, you have to write some custom code.

Michael-IDA’s picture

> is there any module to import data from csv to our custom table.

Probably not.

> Import data from csv to custom table

Since you're just updating 4 fields of a non-Drupal table from CSV files, why aren't you just using PHP/MySQL? Which would be a ~20-30 line script even with the update/insert logic. Should take an hour? No more than two, even if you have funky character encoding issues?

Contact me directly if you want to outsource.

Best,
Michael

Drupal Hosting

NIH Cancer Study: Supplemention with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.