Replace a string with data from input
<p>I have a simple form, like this</p>

<pre><code>&lt;form action="test.php" method="POST"&gt;
    &lt;input type="text" name="album_id"&gt;
    &lt;input type="submit" name="submit"&gt;
</code></pre>

<p>I need the value of <code>album_id</code> entered in the form to replace the <code>XXXX</code> in the string below:</p>

<pre><code>    http://domain.com/album/XXXX
</code></pre>

<p>How do I do that?</p>
