What is wrong with this code returning error
PHP can define a string with ' or ". Whichever one you choose, you can't have those characters in the string without escaping them: echo "need to escape any \" in this string"

You can use this instead to avoid PHP strings altogether:

&lt;?php if ($is_front): ?&gt;
&lt;META NAME="KEYWORDS" CONTENT="Geek community,stuffs for geeks,geek contents,tech updates,electronics stuffs,tech geeks"&gt;
&lt;META NAME="DESCRIPTION" CONTENT="Get articles related to Drupal,wordpress,design tips,Electronics,Web designing,Linux and Programming.Join our Tech community where you can share and get answers for your queries."&gt;
&lt;?php endif; ?&gt;