all groups > flash data integration > april 2005 >
You're in the

flash data integration

group:

limit results


limit results Ulitasch
4/27/2005 12:00:00 AM
flash data integration:
Hi.
How can I show in a text area ONLY selected results (I get from the xml-file
generated by a PHP-document). like in PHP/mySQL you would write $query =
"SELECT * FROM paintings WHERE id = '5' "; or do I have to write for every
flash-page a new PHP-document? tnx for helping me!
Re: limit results Clau=D0io_-_Flash_Developer_-_www.websigns.com.ar_-
4/27/2005 12:28:06 PM
well, i think u should get the hole xml and manipulate it into flash.
create a function with a loop to check the hole data loaded.
Re: limit results LuigiL
4/29/2005 12:00:00 AM
You can pass the id='5' as a variable to your php-script from your flash-file:
object_xml.load("http://www.yourwebsite.com/yourphpfile.php?id="+selection);
In your php-file:
$id=$_GET['id'];
and substitute id='5' by id='$id'
In your flash-file you can for example setup a series of buttons which set the
value of the variable selection and call the function that loads the XML-data
passing it 'selection' as a parameter.
AddThis Social Bookmark Button