This content has been marked as final. Show 3 replies
i am still looking for solutions to this matter... please let me know / post here if you found one...
Need someone to put some guide/tutorial for PHP and Flex.. maybe Mike Potter would give some? (pleaaseee.. :) )
A simple overview of how I do this.
Use the "request" property of the httpService to set any data that needs to go to the server. For example, you might have a service like this:
Then on the PHP side, use $_POST to extract the posted data and feed that into an UPDATE or INSERT query.
This looks much more complicated than it is:
<mx:request xmlns="" >
I use the name of the php script in url. It isn't really a service, but it works the same. Result and fault both point at functions in your Flex app that will be called depending on the result of the call to form1. The php script receives the values thus $vid = $_POST["vid"];
And that's pretty much it. You can do some pretty amazing things with Flex and some simple php scripting. Finding simple explanations of how to do these things is another matter, however