Issue, echoing HTML with script in it, in need of third ' "
<pre><code>&lt;?php

echo '

&lt;input type="file" name="image_path" style="visibility:hidden;" id="image_file"&gt;
&lt;div class="input-append"&gt;
  &lt;input id="photoCover" class="input-large" type="text"&gt;
    &lt;a class="btn" onclick="$('input[id=image_file]').click();"&gt;Browse&lt;/a&gt;
&lt;/div&gt;

&lt;script type="text/javascript"&gt;
   $('input[id=image_file]').change(function() {
   $('#photoCover').val($(this).val());
   });
&lt;/script&gt;

'; 
?&gt;
</code></pre>

<p>As you see, this presents a conflict at </p>

<pre><code>&lt;a class="btn" onclick="$('input[id=image_file]').click();"&gt;Browse&lt;/a&gt;
</code></pre>

<p>and at </p>

<pre><code>&lt;script type="text/javascript"&gt;
   $('input[id=image_file]').change(function() {
   $('#photoCover').val($(this).val());
   });
&lt;/script&gt;
</code></pre>

<p>due to the script start ' ending the echo ' how would you fix this? Sorry if it is a stupid question </p>
