...
Code Block |
---|
foreach ( $resources as $key => $resource ) {
echo '<tr><th>' . $key . '</th><td>';
echo '<input type="text" name="' . $key . '" value=""/>';
echo '</td></tr>';
}
|
Once
...
the
...
data
...
is
...
passed
...
in
...
POST,
...
we
...
combined
...
the
...
data
...
sent
...
with
...
the
...
blank
...
XML
...
file,
...
which
...
is
...
the
...
same
...
technique
...
used
...
for
...
updating
...
data.
Code Block |
---|
foreach ( $resources as $nodeKey => $node ) { |
...
$resources->$nodeKey = $_POST[ $nodeKey ]; |
...
} |
Calling the web service is similar to what we have seen previously:
...