Minimum version: Midgard 1.0
Creates a new style reocrd with the provided parameters.
Returns the id of the created record if successful. Returns FALSE on failure.
<?php
$up = 17;
$name = "GreatStyle";
$owner = 13;
if(mgd_create_style($up)) {
echo "Style '$name' created.";
} else {
echo "Could not create style.";
}
?>
|