Emiliano wrote:
> > $style = 385;
> > $name = "head-java-func";
> > if(mgd_update_element( $style, $name, &$value )){
I read over this the first time. The call is:
mgd_update_element($elementid, $newname, $newvalue)
so the first parameter is not the id of the style this element belongs
to, but the id of the element itself. What does &$value do?
Anyhow, I would use the object methods in general instead:
$element = mgd_get_element_by_name($style, $name);
$element->value = $value;
$element->update();
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]