xml or php

Hi I’m about to learn different programming languages and I wondered if I should make a multiplayer game and save the points and stuff should I use xml or php I know some php but I’ve also heard you can use xml. I have planned to save all data in a MySQL database
What do you think is better to use xml or php

xml is no language
xml is a way to format data.
JSON is an alternative way

you would use xml to transfer the database results you got with PHP to your unity client which requested it through WWW

So if I make an xml file that all the points and stuff stored in then I can send the file to a database and then takes a php script all the data and stores it in database

What kind of game are you trying to make?

Unless it’s turn based, you want to use sockets.

Similar one mmo that you can kill each other and go up in level but not any advanced stuff

if you want them to move around etc you should really look into a socket server, if it’s turn based like chess type thing php + xml would be fine.

thanks it helped, but php and xml, I just use to save the position and skills