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

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

问题描述

刚开始使用 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.

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

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