# Flash PHP MySQL

**URL:** <https://forum.kirupa.com/t/flash-php-mysql/297220>\
**Category:** flash\
**Created:** [September 28, 2009, 10:04am UTC](https://forum.kirupa.com/t/flash-php-mysql/297220 "2009-09-28T10:04:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![2w1w2w](https://avatars.discourse-cdn.com/v4/letter/2/5fc32e/32.png) [@2w1w2w](https://forum.kirupa.com/u/2w1w2w)\
**Post date:** [September 28, 2009, 10:04am UTC](https://forum.kirupa.com/t/flash-php-mysql/297220/1 "2009-09-28T10:04:36Z")

</div>

Hi, i have a query with PHP and Flash. It works partially. Could someone tell me why i only get the first set of my table and not all? Thanks for you help!

Here is my PHP:

```auto
<?php
$abfrage = "SELECT post_title FROM wp_posts LIMIT 3";
$ergebnis = mysql_query($abfrage);
while($row = mysql_fetch_object($ergebnis))
   {
   echo '&inhalt_1=' . "$row->post_title";
   }
?>

```

Here is my Flash:

```auto
v = new LoadVars();

v.onLoad = function(geladen) {
    if(geladen) {
      textfeld_1 = this.inhalt_1;
    }
}

v.load("http://www.myDomain/wp_posts.php?cache=" + (new Date().getTime()));

```
