[freetds] variable problem

Costel Cotae costel.cotae at dobrogeagrup.ro
Mon Jan 10 05:22:43 EST 2005


I have a procedure witch have the the following parameters


startTime nvchar(22)

i define in php like this
$startTime = "01/10/2005 00:00:00";

mssql_bind($proc, "@startTime", $startTime, SQLVARCHAR);

mssql_execute($proc);
mssql_free_statement ($proc);
mssql_close($s);


and when i try to execute the function is giving me

.PHP Warning:  mssql_execute(): message: Procedure 'reportLastAccess' 
expects parameter '@startTime', which was not supplied. (severity 16) in 
/var/www/html/intranet.dobrogeagrup.org/personal/access/lastaccess.php 
on line 64


tnx


--
Coti


More information about the FreeTDS mailing list