Hi Barand
Thank you very much for your help
I'm I bit confused
The below is how I have got it set up (well just one table ) did not want to put all the tables on here
Old data base category
Field Type null default
id smallint(5) No
name varchar(100) No
parentid smallint(5) No 0
New data base
Field Type null default
id smallint(5) No
name varchar(100) No
pid smallint(5) No 0
fset varchar(255) No
weight tinyint(3) No 0
image varchar(255) No
descr text No
========================================
Dumping data for table category
#
INSERT INTO category VALUES (84, 'out side', 0);
INSERT INTO category VALUES (79, 'test2', 0);
INSERT INTO category VALUES (91, 'test3', 0);
INSERT INTO category VALUES (84, 'test4', 0);
INSERT INTO category VALUES (78, 'test5', 0);
INSERT INTO category VALUES (71, 'test6', 0);
So from what you are saying
INSERT INTO category (fieldname1, fieldname2, fieldname2)
VALUES ( 84, 'out side', 0 )
Have I go this right
INSERT INTO category (id, name, pid)
VALUES ( 84, 'out side', 0 )
VALUES (79, 'test2', 0);
VALUES (91, 'test3', 0);
VALUES (84, 'test4', 0);
VALUES (78, 'test5', 0);
VALUES (71, 'test6', 0);
I get a error saying "you have a error in your sql syntax near 'Value (79,'test2',0)' at line 1
Try as I can I cannot see where it is. 🙂)
regards
John