How to save XML API response into MySQL Database using PHP

When you integrate XML API then expected response is in XML format. ¬†PHP has a built-in function “simplexml_load_string” which interprets an input XML into the object, but this way you can’t save it in...