Advertisement
ihris

Untitled

Mar 23rd, 2011
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1.  $element = $template->createElement( "select", array( "name" => $ele_name ) );
  2.  if ($form_node->hasAttribute('id')) {
  3.    $element->setAttribute('id',$form_node->getAttribute('id'));
  4.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement