$v){
$t .= $k.'="'.$v.'"';
}
if(!$selfColse)
$t .= '>';
else
$t .= ' />';
if(!$selfColse)
$t .= $inner.'';
return $t;
}Play Angry Birds
// Example 1:
echo buildTag('input', array('type'=>'button', 'value'=>'WOOT!'), TRUE);
// Example 2:
echo buildTag('p', array('style'=>'border:solid 1px #000'), FALSE, buildTag('a', array('href'=>'http://google.com'), FALSE, 'Google'));
?>










