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:
<?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:
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()));