0

The code below gives me "Warning: Wrong parameter count for mssql_bind() in"

$action="L";
$M_ExhibitionID=$_REQUEST[M_ExhibitionID];
$areaid=1;
$LngCode="el";
$sproc=mssql_init( "sp_php" );
mssql_bind($sproc,"@action",$action,SQLCHAR,false,false);
mssql_bind($sproc,"@M_ExhibitionID",$M_ExhibitionID,SQLINT4,false,false);
mssql_bind($sproc,"@areaid",$areaid,SQLINT4,false,false);
mssql_bind($sproc,"@lang",$LngCode,SQLVARCHAR,false,false);
$GET_EXHIBITS=mssql_bind($sproc);

what is my wrong?

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by odysseous
0

The code below gives me "Warning: Wrong parameter count for mssql_bind() in"

$action="L";
$M_ExhibitionID=$_REQUEST[M_ExhibitionID];
$areaid=1;
$LngCode="el";
$sproc=mssql_init( "sp_php" );
mssql_bind($sproc,"@action",$action,SQLCHAR,false,false);
mssql_bind($sproc,"@M_ExhibitionID",$M_ExhibitionID,SQLINT4,false,false);
mssql_bind($sproc,"@areaid",$areaid,SQLINT4,false,false);
mssql_bind($sproc,"@lang",$LngCode,SQLVARCHAR,false,false);
$GET_EXHIBITS=mssql_execute($sproc);

what is my wrong?

There is a coding error

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.