Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / April 2005



Tip: Looking for answers? Try searching our database.

limit results

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ulitasch - 27 Apr 2005 16:17 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.