Why does php throw syntax error in code
<pre><code>echo "&lt;input  type=\"text\" size=3 name=\"{$item[\"name\"]}\"/&gt;";
</code></pre>

<p>but following works fine </p>

<pre><code>echo "&lt;input  type=\"text\" size=3 name=\"{$item['name']}\"/&gt;";
</code></pre>

<p>As per my understanding \" really escape the "</p>
