Hi PPl.. :) Another of my site going Drupal.
But i have a problem here. First of all its huge, i do not want the traffic to be affected when i migrate it to Drupal. The new Drupal site is under development, and i need to migrate all data there.
Here is the structure for current site database:
main table: This has newsID(planned Node ID), Category(Taxonomy term), Date of article and the pagename(this is being used to get the image file associated), Table Name: This is where the full story is stored, Image ID: 1 if there's an image, 0 if no image. Image is always Pagename.jpg or say heading.jpg
NewsID----CatID----Date----PageName----TableName----ImageID
Month Table(Each month a new table is created for the content of that month), current month its story_112005
StoryID----NewsID----Heading----Summary----TopPara----Newsbody
I'm using flexinode-1 now for the news, and i need help in migrating this data to the new database. If anybody here can guide me how should i go about it. I am not a pro in PHP/MySQL but if guided can do this on my own.
Thanks for going through the long post, looking forward to getting some attention and support here.
Sham
Comments
hi ppl. i have found
hi ppl. i have found somebody locally to do this for me but am not able to understand this info in serialised data for the image field in my flexinode-data table.. i just have a plain pic attached to my current system and want to migrate that along with all the data.. can somebody throw some light on this please?
NetCEO
Pls pls help!!!
Somebody please help here.. I'm stuck!
NetCEO
How to unserialize data
To unserialize that use unserialize() like
In your case you want to create an object of type stdClass() like this, $obj = new stdClass() and then fill in the fields using the existing data.
If you want to know how to "read" the data, see below, my comments are in square brackets
It will give you a clue on what is expected in each field.
please explain
Can you tell me how it works please
Explain what?
When you say "Can you tell me how it works please", how does what work?