How to get language parameter from current site by php and add it to variable -
i need language parameter current page , meta tag php.
<meta http-equiv="content-language" content="de-de" />
after have language de-de or en-us, want add 1060 de-de , 1061 en-us value
if (function_exists('ditty_news_ticker')) {ditty_news_ticker(1060);}?></div>
it´s not big deal me, js, have no idea php. thank help.
you can use get_meta_tags();
all need supply link , it'll output meta data array. e.g
get_meta_tags('http://www.google.com');
Comments
Post a Comment