RE: [PHP-DB] Question about mssql_fetch_object()

From: Date: Fri, 04 Aug 2000 12:19:20 +0000
Subject: RE: [PHP-DB] Question about mssql_fetch_object()
Groups: php.db 
Request: Send a blank email to php-db+get-1786@lists.php.net to get a copy of this message
PHP4.0.1pl2 on Redhat 6.0/Apache 1.3.9/FreeTDS5.0 Cofigure Command - './configure' '--prefix=/usr' '--with-mysql=/usr' '--with-sybase=/usr/local/freetds' '--with-apxs' Code : $sql_result = mssql_query($sql, $connection) or die ("Couldn't execute query ($sql)"); $row_obj = mssql_fetch_object($sql_result); echo ($row_obj->Surname); I hope that helps, I'm having to move on to NT as FreeTDS isn't providing stable connections so I would like to know if this problem also exists on the Windows version. Cheers Nick > ---------- > From: Krzysztof Kielczewski[SMTP:krzysztof.kielczewski@mrkch.pl] > Sent: 04 August 2000 12:32 > To: Sanders, Nicholas > Subject: Re: [PHP-DB] Question about mssql_fetch_object() > > "Sanders, Nicholas" wrote: > > > I've tried using mssql_fetch_object() but get the folowing error > > Fatal error: Call to undefined function: mssql_fetch_object() > > I saw the comment on the php website saying 'mssql_fetch_object does not > > work with php4pl2' has anyone any more information. Is it a php problem > or > > have I missed something in the installation? > > > > Cheers > > Nick > > Hi! > > It seems like you have _not_ installed mssql mod for php of you have php > version without that function. > Can you send your version of PHP and a piece of code - may be I'll be > able to say more. > Krzysztof Kielczewski >

« previous php.db (#1786) next »