Donato Molino
2009-08-09 10:00:56 UTC
Hello,
I would like to set in a xmlrpc client an instructions as follow:
$M=count($array);
foreach ($elements as $key => $val) {
for ($d = 0; $d < $M; $d++) {
$VET[$key][$d] = new xmlrpcval($_POST[$key][$d], 'string');
}
}
and then:
$ve=new xmlrpcval( array (
"user" => new xmlrpcval($userid, 'int'),
"VET" => new xmlrpcval($VET, 'struct'),
), 'struct' );
But it fails.
The server method signature is:
$DoInsert_sig=array(array($xmlrpcStruct, $xmlrpcStruct));
Any help would be greatly appreciated.
Donato
I would like to set in a xmlrpc client an instructions as follow:
$M=count($array);
foreach ($elements as $key => $val) {
for ($d = 0; $d < $M; $d++) {
$VET[$key][$d] = new xmlrpcval($_POST[$key][$d], 'string');
}
}
and then:
$ve=new xmlrpcval( array (
"user" => new xmlrpcval($userid, 'int'),
"VET" => new xmlrpcval($VET, 'struct'),
), 'struct' );
But it fails.
The server method signature is:
$DoInsert_sig=array(array($xmlrpcStruct, $xmlrpcStruct));
Any help would be greatly appreciated.
Donato