Pass a PHP variable in a link to a modal window
<p>Hi I have a php link which calls a modal popup window which all works fine, the problem i am having is that it doesn't pass the php variable in the link.</p>

<p>the php variable shows in the address bar, but it isn't passing to the modal form.</p>

<p>here is my link</p>

<pre><code> echo "&lt;a href=\"?ip_address='.$ip_address.'#accSettings1\" &gt;Add&lt;/a&gt;";  
</code></pre>

<p>And I am getting the variable like this.</p>

<pre><code>$ip_address = $_GET['ip_address'];  
echo "$ip_address"; 
</code></pre>
