Minimum version: Midgard 1.0
Updates the element record with id id with the information provided.
Returns TRUE on success, FALSE on failure.
<?php
$id = 17;
$name = "ROOT";
$value = "<HTML><BODY><(title)><(content)></BODY></HTML>";
if(mgd_update_element( $id, $name, $value )){
echo "Updated element.";
}else{
echo "Could not update element";
}
?>
|