So im not sure what or how to really describe what i need but hopefully someone will understand.
single element of the total xml file looks like this:
for
$xml = simplexml_load_file("books.xml") or die("Error: Cannot create object"); foreach($xml->children() as $books){ foreach($books->children() as $book => $data){ echo $data->id; echo $data->title; echo $data->author; echo ""; }
}