连接到sql [英] connection to sql

查看:60
本文介绍了连接到sql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想连接到sql

这是我的页面MySqlConnection.php:

i want connect to sql
this is my page "MySqlConnection.php":

展开 | 选择 | 换行 | 行号

推荐答案

您好Leen,

请在您的代码周围使用[code]标签以备将来使用,并且还要包含您收到的任何错误消息,以便我们更快地找到问题。

我看到的最大问题是阻止它工作,你拼错了:mysql_connect。你有mysql_connec。
Hi Leen,
Please use [code] tags around your code for the future, and also include any error messages you receive which makes us finding the problem quicker.
The biggest problem I see that will stop this from working is you misspelling: "mysql_connect". You have "mysql_connec".


哦对不起在这里我这样写,在我的代码中我写''mysql_connect"。

当我打开这个页面什么都没有发生,但在其他页面中作为注册其中包括页面MySQLConnect,我得到连接诊断问题,即它没有与数据库学校建立连接。

我知道这是最简单的页面我的项目,但我无法检测到问题
oh sorry here I Write like this ,into my code I write ''mysql_connect ".
when I open this page nothing happens, but in the other pages as a "sign up" in which includ the page "MySQLConnect", I get "connection diagnostic problems", ie it does not make a connection tothe data base "school".
I know this is the easiest page in my project, but I can not detect the problem has


试试这个,然后发布完全返回的内容:
Try run this, and post exactly what is returned:
展开 | 选择 | Wrap | 行号


这篇关于连接到sql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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