unterminated string literal issue
<p>First timer here, and total noob when it comes to PHP and JavaScript.</p>

<p>I have 2 lines of code which are identical, however one works and one kicks out a unterminated string literal error.</p>

<p>One that works:</p>

<pre><code>&lt;script type="text/javascript"&gt;
  document.getElementById('vehiclemake').value
                                         = "&lt;?php echo $_POST['vehiclemake'];?&gt;";
&lt;/script&gt;
</code></pre>

<p>One that doesn't:</p>

<pre><code>&lt;script&gt;
  document.getElementById('PostcodeSelect').value =
                                        "&lt;?php echo $_POST['PostcodeSelect'];?&gt;";
&lt;/script&gt;
</code></pre>

<p>The only thing I can think of is that the postcode select POST variable has an underscore in it eg: AB1_1BA does this need escaping or something?</p>

<p>Any help greatly appreciated, cheers!</p>
