function showFields($selClient)
{
$result = mysql_query("SELECT * FROM project WHERE projectid = $selClient");
$values = array();
while($row = mysql_fetch_array($result))
{
$values[] = array($row['clientname'],$row['prospect'],$row['salesperson']);
}
return $values;
}
When i return the values to Flex, i am not able catch individual elements. When i trace i get all values stored in a single array...
I am slightly confused...,.
var editField:Array = event.result as Array;
Alert.show(editField[0]);
This returns all the values in the Array, instead of the 0th element.