A
A
Artyom Bobkov-Beznisko2020-03-05 13:32:51
PHP
Artyom Bobkov-Beznisko, 2020-03-05 13:32:51

How to load XML file from console to MySQL database?

Hello, I am newbie and getting familiar with PHP and related areas. I was assigned the task of loading an XML file from the console into the Database, they also advised me to do it using simplexml, but unfortunately I am not at all familiar with this, and it turned out to be quite difficult to pull information bit by bit from the entire Internet, which made a mess in my head. The question is how to start this console at all and what code is needed for the file to be in the database (does it need to create some kind of table in advance or not)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BATPYIIIKOB, 2020-03-05
@BATPYIIIKOB

It's a pity that we never learned how to use search engines...
Here:
https://sapid.info/instruction/xml-to-mysql/
https://ru.stackoverflow.com/questions/444962/How-...
https://web-answers.ru/php/import-xml-v-bazu-danny...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question