Passing in variables into a string
<p>Not sure if PHP can do this so I thought I'd ask the experts:</p>

<p>I want to have an array of strings within which I have a placeholder:</p>

<pre><code>array (
  1 =&gt; "this is string $1",
  2 =&gt; "this is string $2");
</code></pre>

<p>I then want to reference this in many pages and pass the value dependent on the page:</p>

<p>e.g. 
print (array['1'], "value to replace $1")</p>

<p>Is this possible?</p>

<p>Thanks</p>
