Why is there an error message if the variable is encased in double quotes?
<p>Look at the code below</p>

<pre><code>&lt;?php
//The array is storing a blog entry in it
$entry = array ('title' =&gt; 'sample title',
        'date' =&gt; 'August 9, 2011',
        'author' =&gt; 'daNullSet',
        'body' =&gt; 'I shall become a web developer IA',);
echo "The title of the blog is ".$entry['title']."&lt;br /&gt;";
?&gt;
</code></pre>

<p>The code above executes quite well, but it returns the following parse error when I enclose $entry['title'] in double quotes while concatenating with other strings in echo statement.</p>

<blockquote>
  <p>Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\xampp\htdocs\php-ex\test.php on line 7</p>
</blockquote>

<p>Can you guide about the reason of the error? I am absolutely new to programming. Thank you</p>
