时间:2021-07-01 10:21:17 帮助过:9人阅读
require("../inc/hbmconn.php");
//传入vip 姓名
$name=iconv("utf-8","gb2312",$_REQUEST['name']);
$startTime="2012-04-01";
$endTime="2012-04-03";
$procedure = mssql_init("procGetVIPConsumeDetail",$conn);
mssql_bind($procedure,"@vipConsumerFilter",$name, SQLVARCHAR);
mssql_bind($procedure,"@startDate",$startTime, SQLDATETIME);
mssql_bind($procedure,"@endDate",$endTime, SQLDATETIME);
$resource = mssql_execute($procedure);
mssql_free_statement($procedure);