//php $con=@odbc_connect("dsn","user","password") or die("failed");

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 02:32:48
//php$con=@odbc_connect("dsn","user","password")ordie("failed");//php$con=@odbc_connect("dsn","user"

//php $con=@odbc_connect("dsn","user","password") or die("failed");
//php $con=@odbc_connect("dsn","user","password") or die("failed");

//php $con=@odbc_connect("dsn","user","password") or die("failed");
这一行是连接数据库的,如果连接失败会提示failed,但这个在PHP里是被注释掉的,不起作用.