simple html dom filter form to get name and values as php array
<p>Im new to using <code>simple_html_dom</code>, i have this form which i dont intend to submit but i want to get the names and values as an array in php.</p>

<pre><code>$url = '&lt;!DOCTYPE html&gt;
    &lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div class="waitmsg" id="WaitMessage" style="display:none"&gt;
        &lt;WaitMessage&gt;Transaction Processing, Please Wait...&lt;/WaitMessage&gt;
    &lt;/div&gt;
    &lt;form id="mpiRun" action="form.php" method="post"&gt;
        &lt;input type="hidden" name="dest" value="33777" /&gt; 
        &lt;input type="hidden" name="one" value="102900" /&gt; 
        &lt;br&gt;      
        &lt;br&gt;
        &lt;noscript&gt;      
            &lt;center&gt;      
                &lt;h1&gt;Processing Transaction&lt;/h1&gt;
                &lt;input type="submit" /&gt;      
            &lt;/center&gt;
        &lt;/noscript&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;';
</code></pre>

<p>I want to search through this in and return a php array e.g</p>

<pre><code>Array
(
    [dest] =&gt; 33777
    [one] =&gt; 102900
)
</code></pre>