Advertisement

02.19.2008 at 10:25PM PST, ID: 23176754
[x]
Attachment Details

Reusable PHP script to populate a combo box in Flex via xml

Asked by chtru in Adobe Flex, Extensible Markup Language (XML), PHP and Databases

Tags:

I need a php script that takes a request and some variables from an HTTPService in Flex, goes to the referenced mysql database field, returns the values in an xml object to flex which are then bound to a combobox for a lookup.

mysql sample table name
  _tblLookupGeo
field in that table
  geographicArea

another sample table
  _tblLookupTags
field in that table
  tags

So in summary I need
1) a php script that will take values for the table name and field name from a flex application and return the required values in xml
2) how to write the HTTPService request to pass the necessary values to the php script
3) how to get the result of the HTTPService request and bind it to a XMLobject

I'm ok with binding it to the combo box once it's there!
Also since I'm doing this for multiple combo boxes, would I have to make a HTTPService request for each box? Or is there a more effective way of doing this?

Thanks so much.Start Free Trial
[+][-]02.20.2008 at 06:23AM PST, ID: 20937961

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Adobe Flex, Extensible Markup Language (XML), PHP and Databases
Tags: flex php xml
Sign Up Now!
Solution Provided By: Robinsonx6
Participating Experts: 1
Solution Grade: B
 
 
[+][-]02.20.2008 at 06:24AM PST, ID: 20937966

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628