jQuery/PHP Replace Text with Title
<p>Trying to replace the Text inside an <code>&lt;h1&gt;</code> with the text inside the <code>&lt;title&gt;</code> with jQuery.</p>

<pre><code>$('.pagination').each(function(
    $('.pagination h1').replace($("html head title").text(););
);
</code></pre>

<p>I don't really know how to do this, I sorta hacked it together.</p>

<p>EDIT:  Or, does anyone know how to do this with PHP?</p>
