Excel formula or PHP function for editing a database?
-
I have a complex task and I have no idea if it’s better to use Excel or a PHP function (outside WordPress before re-importing data). Hopefully someone can give some tips.
I have exported my contacts database into Excel, I now have custom-fields as column headings (company_name, company_founded, etc.), some are normal entries and some are arrays like
[.....] a:14: { s: 14: "company_name"; s: 23: "nome"; s: 15: "company_founded"; s: 4: "anno"; s: 12: "legal_entity"; s: 12: "tipo impresa"; s: 8: "turnover"; s: 19: "fatturato annuo"; [ .... ]
I must copy data from the normal cell and paste it in the array column, in the corresponding string. In other words (from the example above): find nome from column company_name > copy > find string nome in the array’s company_name > paste.
Afterward I can reimport the excel file so that my custom data will fill the corresponding fields, be them normal custom-fields or arrays (i.e. custom-post-tyes)
- The topic ‘Excel formula or PHP function for editing a database?’ is closed to new replies.