Use node_load and node_save to Import Data

So you have a CSV file that as a developer, you already know how to manipulate and read from. You also know how to create objects or arrays from this CSV file. But you're running Drupal 6 and you want the content in this file to be content on the site. Most dev guys will tell you that you need to write custom queries to extend the Drupal Schema and then write custom code to get it on the page.

Don't forget... BYODD: Backup Your Own Database Dummy! We're Not responsible for you screwing up your database if you follow these directions.

Subscribe to RSS - node_delete