php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #13965 new functions for ODBC
Submitted: 2001-11-06 18:29 UTC Modified: 2002-08-10 18:22 UTC
From: john at mailsrv dot bidbay dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.6 OS: all OSes
Private report: No CVE-ID: None
 [2001-11-06 18:29 UTC] john at mailsrv dot bidbay dot com
can we add these functions to the list of ODBC functions?

odbc_fetch_object()
odbc_fetch_array()

how long would it take to have a release with them?

fetch object is my first choice due to its short syntax.  it's great to call fetch object and then be able to access all your columns for the row like:

$row->column_name

really nice and short.  but if that's not possible then fetch array would work too.  even though the syntax is longer...

$row['column_name']

...and slower to type.  at least you can deal with everything by their database column names.  makes for less maintenance.

just my humble opinion.

thanks!

John

(great for those of us working with DB2)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-10 18:22 UTC] kalowsky@php.net
These functions do exist.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 20:00:01 2026 UTC