I ran the sync and now all data is messed up
When i look in the database i have no item names and all the colors are grey.
Any reason for this or have a fix for it?
if (!empty($content)) {
$armoryItem = $xml_parser->parse($content);
$item["Color"] = getItemColor($armoryItem->itemTooltip->overallQualityId->_CDATA);
$item["Name"] = $armoryItem->itemTooltip->name->_CDATA;
}
if (!empty($content)) {
$armoryItem = $xml_parser->parse($content);
$item["Color"] = getItemColor($armoryItem->itemTooltips->itemTooltip->overallQualityId->_CDATA);
$item["Name"] = $armoryItem->itemTooltips->itemTooltip->name->_CDATA;
}
if (!empty($content)) {
$item["Tooltip"] = trim(str_replace("\n\n", "\n", str_replace("<br />", "\n", strip_tags(nl2br($content), "<br>"))));
}
if (!empty($content)) {
$item["Tooltip"] = trim(str_replace("\n\n", "\n", str_replace("<br />", "\n", strip_tags(nl2br($content)))));
}
Return to ArmorySync - Depreciated
Users browsing this forum: No registered users and 1 guest