Skip to Content.
Sympa Menu

freetds - [freetds] variable problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Costel Cotae <costel.cotae AT dobrogeagrup.ro>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] variable problem
  • Date: Mon, 10 Jan 2005 12:22:43 +0200

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




Archive powered by MHonArc 2.6.24.

Top of Page