如何使用Flex更新MySql数据库 [英] How to update a MySql DB using Flex

查看:165
本文介绍了如何使用Flex更新MySql数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经做了一些简单的应用程序来获得它的感觉,没有涉及到更新文件或一个数据库。

我需要帮助,如何从Flex应用程序对MySql DB进行查询(即将在Web服务器上运行)。



我没有看到任何重复的问题,抱歉,如果存在的话,只要指向我即可。

编辑:



使用PHP在服务器上执行查询。

解决方案

我从来没有做过这个我已经阅读并观看了关于它的教程。这个教程可以在这里找到,特别是标签为使用XML集成Flex与PHP,并在页面的底部。



http://www.adobe.com/devnet/flex/videotraining/



它基本上概述了如何使用Flex的HTTPService与PHP脚本进行交互。这个PHP脚本可以用来在你的Flash应用程序和你的mysql数据库之间使用GET和POST变量直接进行通信。


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.

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.

EDIT:

Using PHP to do the query on the server.

解决方案

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/

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.

这篇关于如何使用Flex更新MySql数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆