如何使用 Flex 更新 MySql DB
刚开始使用 Flex 进行开发,我喜欢它.
Just got developing with Flex, and i like it.
我做了一些简单的应用程序来了解它,不涉及更新文件或数据库.
I've done some simple apps to get the felling of it, nothing involving updating a file or a database.
我需要帮助,如何从 Flex 应用程序(将在 Web 服务器中运行)查询 MySql DB.
I wanted help, how to do a query to a MySql DB from a Flex application (thats gonna be running in a web server).
我没有看到任何重复的问题,抱歉,如果有,请指出.
I didn't saw any duplicated questions, sorry if any exists, just point me to it.
使用 PHP 在服务器上进行查询.
Using PHP to do the query on the server.
推荐答案
虽然我自己从未这样做过,但我已经阅读并观看了有关它的教程.可以在此处找到该教程,特别是标记为使用 XML 将 Flex 与 PHP 集成"的教程位于页面底部.
While I've never done this myself I have read and watched tutorials about it. The tutorial can be found here and the one in particular is labeled "Integrating Flex with PHP using XML" and is at the bottom of the page.
http://www.adobe.com/devnet/flex/videotraining/一个>
它基本上概述了如何使用 Flex 的 HTTPService 与 PHP 脚本交互.此 PHP 脚本可用于使用 GET 和 POST 变量在 Flash 应用程序和 mysql 数据库之间直接通信.
It basically outlines how to use Flex's HTTPService to interact with a PHP script. This PHP script can be used to communicate directly between your flash application and your mysql database using GET and POST vars.
相关文章