merge.php 357 Bytes
Newer Older
1
<?php
Orbmancer's avatar
Orbmancer committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

error_reporting(E_ALL);
ini_set('display_errors', 1);

require 'Data.class.php';

$name = $_POST['name'];
$data = $_POST['data'];
$x = $_POST['x'];
$y = $_POST['y'];
$td = $_POST['td'];

var_dump($name);
var_dump($data);
var_dump($x);
var_dump($y);
var_dump($td);

Data::saveXML($data, $name, $x, $y, $td);
echo '<br/>';
var_dump(Data::loadXML($td));