KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've got an XML file that has the label @attributes for one of the names SimpleXMLElement Object ( [@attributes] => Array ( [PART_NUMBER] => ABC123 I want to make a reference to this object like $product->@attributes['part_number'] but of course the @ symbol causes an error. So how do I reference this item in the object?
Tags (comma-separated)
Save Edits
Cancel