int mgd_create_page
(int up, string name, int style, string title, string content, int author, int auth, int active)
Minimum version: Midgard 1.0
Creates a page record with the provided parameters.
Returns the id of the created record if successful. Returns FALSE on failure.
<?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); ?> |