Home > php教程 > php手册 > Flex 3 和PHP连接mysql数据库

Flex 3 和PHP连接mysql数据库

WBOY
Release: 2016-06-06 19:59:48
Original
1223 people have browsed it

1.配置PHP环境 2.启动Flex Builder 3,New Flex Project,为Project命名为PHP,再在服务器类型中选择php , 设置的web root(本机web目录)和root url(http地址) , 然后选择Data-Create Application from database 在对话框中选择Project为PHP 点 "New",配

1.配置PHP环境

2.启动Flex Builder

3,New Flex Project,为Project命名为PHP,再在服务器类型中选择php , 设置的web root(本机web目录)和root url(http地址) , 然后选择Data->Create Application from database  在对话框中选择Project为PHP   点 "New",配置连接名称,然后点Next,配置好Host URL, Database Name, User Name, Password 在返回“choose data source” 选择好表名和主键

4 flex 3会自动创建一个与表同名的.mxml文件

5 运行之后,就完成了,不用写一行代码,很简单吧。

效果:http://www.sohudo.com/flex/test.html

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template