开发者

How to use the mysql & sqlserver database functions in single php file?

My application is developed by php and mysql. Then I also use the sql server.

Now the application displays the blank page while i retrieve the records from sql server

database based on one search criteria value(This value in mysql database).

Please help what is the problem in my application

In this file mysql data also displayed. the configuration.php contains sqlserver connection

my p开发者_如何学编程hp file (UI file)

include("configuration.php");

  $select_dob="select DISTINCT  `FirstName` , `LastName`,`Address1`,`City`,`State`,`Zip`,`DOB` from `tblCustomer` where `DOB`='$dob' order by `FirstName` asc";

 $query_dob=mssql_query($select_dob) or die ("Error".mssql_error()); 
  $query_row=mssql_num_rows($query_dob);


How to use the mysql & sqlserver database functions in single php file?

Usual way you're working with them alone. There are no special issues in using them in one script.

Now the application displays the blank page

So, your problem that you're unable to see error messages. Turn all error reporting on and also use database-driver specific error handling functions like mysql_error() one.

Please help what is the problem in my application

Nobody can tell you that from your problem description consists of "blank page" only. Don't you understand that?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜