[MDB] Error using getCol

From: Date: Sat, 17 Jan 2004 13:14:55 +0000
Subject: [MDB] Error using getCol
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10196@lists.php.net to get a copy of this message
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 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? Thierry B. -- Click below to answer / cliquez ci dessous pour me repondre http://cerbermail.com/?MQkxTL4vUP

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