Pass variable into php web form from android app
<p>I have the following php snippet. I am working on an android program and need to somehow pass in the 'pid'. How can I do this so that it will return the form with the given pid? Can I do this without passing in a parameter using a POST request?</p>

<pre><code>&lt;?php

    if(isset($_GET['resp']) == "success")
    {
        echo '&lt;div class="success-box" style="font-size: 16px; padding: 20px;"&gt;Success&lt;/div&gt;';
    }
    else {
        require_once('connect.php');
        $pid = $_SESSION['pid'];

        $qry1 = mysql_query("SELECT * FROM table WHERE pid = '$pid'");
        if(mysql_num_rows($qry1) &gt; 0)
        {
            $result = mysql_fetch_array($qry1);

...

?&gt;
</code></pre>
