Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
15
onyx/backup/restaureXML.php
Normal file
15
onyx/backup/restaureXML.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
$dom_object = new DomDocument();
|
||||
$dom_object->load("2008-11-29 17-42-04.xml");
|
||||
|
||||
$xpath = new Domxpath($dom_object);
|
||||
$result = $xpath->query("/sauvegarde/table[@name='user']/enregistrement[@id='8']");
|
||||
|
||||
print ("<ul>");
|
||||
foreach ($result as $exercise) {
|
||||
print ("<li>");
|
||||
$title = $xpath->query ("pseudo", $exercise);
|
||||
print ($title->item(0)->nodeValue . "</li>\n");
|
||||
}
|
||||
print ("</ul>");
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue