[eluser]DooBie[/eluser]
Are you asking me to write the documentation of this function?
I am sorry, but, I do not understand correctly what you say to me, if it is it, I will be delighted(enchanted), of it, his(her,your) use is very simple.
Code:
DOC:
meta()
Lets you create HEAD <meta /> tags. The first parameter contains an associative array for meta name to meta value. The second, are optional, and is for a newline caracter, by default is "\n". Example:
$metas = array(
'author' => 'My name',
'description' => 'My cool website :)',
'title' => 'Welcome to my site');
echo meta($metas);
/*
gives
<meta http-equiv="author" content="My name" />
<meta http-equiv="description" content="My cool website :)" />
<meta http-equiv="title" content="Welcome to my site" />
*/
There is an optional second parameter that is a string for the last caracters in the meta, by default, this parameter are a newline caracter ("\n"). Example:
$metas = array(
'author' => 'My name',
'description' => 'My cool website :)',
'title' => 'Welcome to my site');
echo meta($metas, '');
/*
gives
<meta http-equiv="author" content="My name" /><meta http-equiv="description" content="My cool website :)" /><meta http-equiv="title" content="Welcome to my site" />
*/
I repeat, sorry for my english