Help me escape this php/js and stop warning error on zend studio
<p>This shouldn't be too difficult but for the life of my cant sort it out and its driving me mad.</p>

<pre><code>$script = "
$(document).ready(function(){
    $('.row').hover(function() {
        var id = ($(this).attr('id').replace(/\D/g, ''));
        $('.row-edit-' + id).css('display', 'block');
            }, function() {
        var id = ($(this).attr('id').replace(/\D/g, ''));
        $('.row-edit-' + id).css('display', 'none');
    });
});
";
</code></pre>

<p>So its a bit of jquery inside a php tag, might be horrible to look at but as I'm using it sparingly its not too bad.</p>

<p>If anyone here has studio or eclipse could they give it a quick fix?</p>

<p>Thanks,</p>

<p>Daniel</p>
