Array Returning the same value in PHP
<pre><code>  $result = mysql_query("SELECT position
     FROM ".$this-&gt;table_name."
     WHERE c_name = '".$chName."'");

     while($row = mysql_fetch_array($result)) 
     {
      return(array($row['position']));
     }
</code></pre>

<p>I am getting the same value, even if i change the combox... i need the ID of the combox box when its changed. But for every time i select it displays the same value.</p>

<pre><code>function getID($chName) {

}
</code></pre>

<p>chName is the value i am getting from combo box from Flex.</p>
