I have been asked to parse a simple file which is stored as an XML file, the data is to be then put into a mysql database.
However I have absolutely no clue what to
$xml = simplexml_load_file($filename); foreach($xml->products->product as $not) { foreach($not->attributes() as $a => $b) { echo $a,'="',$b,"\""; } }