Hi. I want to export data from GoldMine into MySQL.
I have done this successfully with a long LOAD command, but I'd like a PHP script to do this for me (as the LOAD command is a little lacking).
The CSV data is in the format "field1","field2","field3"
and each record is terminated by a carriage return (\n)
As each GM export will contain the same records again and again I'd like the script to delete the old records in the SQL database before adding the updated records. in effect, overwriting the old data.
I really don't have a clue where to start, I feel I will probably have to modify whatever scripts I can find closest to what I need....
Any ideas / premade scripts / websites to help are most appreciated. Thankyou.
Tels
Mixed Linux/Win2000 Network Administrator
I have done this successfully with a long LOAD command, but I'd like a PHP script to do this for me (as the LOAD command is a little lacking).
The CSV data is in the format "field1","field2","field3"
and each record is terminated by a carriage return (\n)
As each GM export will contain the same records again and again I'd like the script to delete the old records in the SQL database before adding the updated records. in effect, overwriting the old data.
I really don't have a clue where to start, I feel I will probably have to modify whatever scripts I can find closest to what I need....
Any ideas / premade scripts / websites to help are most appreciated. Thankyou.
Tels
Mixed Linux/Win2000 Network Administrator