php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7510 mssql_fetch_object doesnt work (mssql_fetch_array and mssql_fetch_row are OK)
Submitted: 2000-10-28 06:34 UTC Modified: 2000-12-30 20:13 UTC
From: method at cwjamaica dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.3pl1 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 + 49 = ?
Subscribe to this entry?

 
 [2000-10-28 06:34 UTC] method at cwjamaica dot com
$query = "select name from client where client_id = 5";
$result = mssql_query($query);
$row = mssql_fetch_object($result);

echo $row->name;

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-30 20:47 UTC] fmk@php.net
With current cvs this error can not be reproduced.
Do you use CGI or ISAPI ?
 [2000-12-30 20:13 UTC] sniper@php.net
No feedback.

--Jani
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Aug 19 23:05:44 2022 UTC