如何使用PHP设置MySQL服务器 [英] How to setup MySQL server with PHP

查看:62
本文介绍了如何使用PHP设置MySQL服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如何使用Adobe Dreamweaver设置与MySQL的PHP​​连接,当我在URL web localhost / test上键入时,它将打开index.php与我在PC上安装的MySQL服务器的开放连接一起?我已经安装了Apache2.2。但是当我在Dreamweaver上按F12时,它会问我是否要设置服务器端。我已经配置了我在C:\ Apache /\\ htdocs中的Test文件夹中设置的新站点。我只是在学习一个网站,但我很困惑从什么开始。我已经在网站上看到了,但主要是写一个代码来连接。但不是第一次实现此连接的步骤。有人可以帮我提一个关于这个问题的教程链接吗?



顺便说一句,我早些时候在PC上使用了XAMP。因为我不知道从哪里开始,因为我看到网站太多了我需要知道的东西,而且我自己学习。所以我需要一个指南。如果你们中的任何人知道从哪里开始,请给我一个教程链接。谢谢

解决方案

确保您已正确设置网站:

在Dreamweaver中设置一个站点 [ ^ ]

Dreamweaver上的MySQL数据库设置 [ ^ ]

Hi all,

How to setup a PHP connection with MySQL using Adobe Dreamweaver which when I type on URL web localhost/test it will open the index.php together with open connection to MySQL server which I install on my PC?I already install Apache2.2. But when I press F12 on Dreamweaver, it ask me whether I want to setup a server side. I'm already configure new site which I set on the folder of Test in C:\Apache\htdocs. I'm just learning a website but I'm confuse to start with what. I already see on website but mostly write a code to connect. But not on step to implement this connection for the first time. Could someone help me to give a link of tutorial on this issue?

Btw, I have the XAMP on my PC which I use earlier. Because I dont know where to start because I see website is too much thing that I need to know and I learn by myself. So I need a guide for this. If any of you know where to start this, please give me a link for tutorial. Thank you

解决方案

Make sure you have set up the site correctly:
Setup a site in dreamweaver[^]
MySQL Database Setup at Dreamweaver[^]


这篇关于如何使用PHP设置MySQL服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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