Append an input's value in included form..PHP
<p>I have several landing pages and the only difference in them is a hidden input's (referred_by_text) value. I would like to just make one form and include it in all the landing pages....<strong>how would I go about setting the value for the input on each landing page for that value?</strong></p>

<p>In the landing page this:</p>

<pre><code>&lt;?php include("includes/lp_form.php");?&gt;
</code></pre>

<p>In the included form:</p>

<pre><code>&lt;input type="hidden" name="referred_by_text" value="" /&gt;
</code></pre>

<p>I would like to set the value for "referred_by_text" in each landing page...not sure where to start, any help is much appreciated. Would it be best to do it as an variable or possibly in JS?</p>
