You will have to call this PHP file from ur flex code using HTTP Service and then you can get the return of pHP in flex
Thanks but what is the code for it? I am still a beginner and don't know how to do it.
its quite simple if you watch the tutorials http://www.adobe.com/devnet/flex/videotraining.html
Day 2 has the section on retrieving remote data (day 3 on sending)
in fact if you are a beginner then its worth watching all the videos. They are really useful to get started
Thanks, I will take a look