日期:2014-05-17 浏览次数:20479 次
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);