# Flash mx2004 php urgent help

**URL:** https://forum.kirupa.com/t/flash-mx2004-php-urgent-help/106472
**Category:** Uncategorized
**Created:** [April 6, 2004, 5:51am UTC](https://forum.kirupa.com/t/flash-mx2004-php-urgent-help/106472 "2004-04-06T05:51:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![amjad](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@amjad](https://forum.kirupa.com/u/amjad)
#### Post date: [April 6, 2004, 5:51am UTC](https://forum.kirupa.com/t/flash-mx2004-php-urgent-help/106472/1 "2004-04-06T05:51:49Z")

</div>

hi all

i’m using flash mx2004 and php 4+ but i’ve some issues on flash side

i’ve a table called organization this has 3 columns (orgId, orgName, Des)  
and has 10 rows of records as data  
but when i tryed 2 retrive in that data in flash, that only returns me a last and single row from table. As i said there are 10 record on my table so, how do I get each organization and its description in flash?

my php code Something like this…

```php
include ("connection.php"); 
$query = "select Organization_Name, Description from ecards"; 
$result = mysql_query($query); 
while($rows = mysql_fetch_array($result)){ 
    $list = "<b>Name : </b>" .$rows["Organization_Name"]; 
    $list .= "<b>Description : </b>" .$rows["Description"] ."<br>"; 
} 
print "&list=" . urlencode($list) . "&"; 

```

and flash code

```auto
var loadphp = new LoadVars();
loadphp.onLoad = function(success){
  if(success){
    list = this.list;
  }
}
loadphp.load("test.php");

```

plz help i’m stuck, wat should i do 2 get the complete data from db  
any suggession would be apperciated

thanx  
amjad
