Name
mgd_create_page -- Create a page record
Synopsis
int mgd_create_page
(int up, string name, int style, string title, string content, int author, int auth, int active);
Description
Minimum version: Midgard 1.0 (Land Rover)
Creates a page record with the provided parameters.
Returns the id of the created record if successfull.
Returns false on failure.
Example
<?php
$up = 13;
$name = "demo";
$style = 17;
$title = "Page Create Demo";
$content = '<?php phpinfo(); ?>';
$author = 13;
$auth = 0;
$active = 1;
mgd_create_page( $up, $name, $style, $title, $content,
$author, $auth, $active);
?>