Page 1 of 1

Import of csv file

Posted: Wed Mar 19, 2014 6:31 pm
by ricklincs
In nuBuilder2 I ran an activity to import a csv file. I used fopen, fgetcsv etc then in sql inserted values including uniqid() to populate my table with data, (as usual I got this information from some get help on your Forum). How does nuBuilderpro handle this (or how should I ?). I see there is a great way of uploading files and images to be stored in the tmp directory, that seems very straight forward. Guidance would be greatly appreicated. [Enjoying nuBuilderpro, well done on the release guys.]

Re: Import of csv file

Posted: Thu Mar 20, 2014 12:34 am
by massiws
rnott, importing data in nuBuilderPro works the same as nuBuilder v.2: you can build your PHP code to get data from CSV file and save in DB tables.
Another way, if you have to import single tables, use directly PhpMyAdmin (or MySQL) to import CSV file: it depends on what data you have to manage.

Hope this helps,
Max