migration

4.6 custom table -> 5.x filefield migration code

  1.   $result = db_query("SELECT * FROM {cv_files} WHERE uid = %d", $user46->uid);
  2.   $i = 0;
  3.  
  4.   while ($row = db_fetch_object($result)) {
  5.     $old_filepath = PK_46_PATH .'/'. $row->filepath;
Syndicate content