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!
ClauÐio - Flash Developer - www.websigns.com.ar - - 27 Apr 2005 20:28 GMT
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.
LuigiL - 29 Apr 2005 13:08 GMT
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.