Re: [MDB] Error using getCol

From: Date: Sat, 17 Jan 2004 19:21:24 +0000
Subject: Re: [MDB] Error using getCol
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10198@lists.php.net to get a copy of this message
Thierry Bothorel wrote:
Hi, with MDB 1.2, using this line : $v = $mdb->getCol("EXECUTE sp_server_info @attribute_id = 2", "text", "", "", 2); I get this error: Notice: Undefined variable: rownum in c:\Php\PEAR\MDB\Common.php on line 3707
Err what version are you using? I thought I fixed this one in 1.2 (it was in 1.1.4)
If i use : $v = $mdb->getCol("EXECUTE sp_server_info @attribute_id = 2", , , , 2); I get: Parse error: parse error, unexpected ',' in C:\Inetpub\wwwroot\mrbsmdb\web\mssql.inc on line 43 >>the line above. What am I doing wrong?
Uhm, maybe I am not getting what you mean but that is obviously a parse error in your getCol call itself.. regards, Lukas

« previous php.pear.general (#10198) next »