Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Import of csv file
Import of csv file
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.]
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: Import of csv file
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
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