Open Source Content Management System

mgd_update_element

  1. Description

mgd_update_element -- Modify an element record

(Note: this function is deprecated since Midgard 1.6.0. Corresponding OOP-method should be used, instead)

Description

`bool **mgd_update_element** (int id, string name, string value)`

Minimum version: Midgard 1.0

Updates the element record with id id with the information provided.

Returns TRUE on success, FALSE on failure.

<(title)><(content)>";
      if(mgd_update_element( $id, $name, $value )){
        echo "Updated element.";
      }else{
        echo "Could not update element";
      }
    ?>
Designed by Nemein, hosted by Anykey