Date: 10/25/99
- Next message: Massimiliano Masserelli: "Re: [PHPLIB-DEV] cvs commit"
- Previous message: Kristian Koehntopp: "[PHPLIB-DEV] Please check out and test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
One more small modification to db_oracle.inc to make things like
$db->f(0) working ...
Regards,
KIR
Index: php/db_oracle.inc
===================================================================
RCS file: /u/repository/ASTRIVE/php-lib/php/db_oracle.inc,v
retrieving revision 1.1.1.2
retrieving revision 1.3
diff -u -c -r1.1.1.2 -r1.3
*** php/db_oracle.inc 1999/10/25 08:17:08 1.1.1.2
--- php/db_oracle.inc 1999/10/25 08:12:59 1.3
***************
*** 1,10 ****
<?php
/*
* Oracle accessor based on Session Management for PHP3
*
* Copyright (c) 1998,1999 Luis Francisco Gonzalez Hernandez
*
! * $Id: db_oracle.inc,v 1.1.1.2 1999/10/25 08:17:08 kir Exp $
*
*/
--- 1,11 ----
<?php
+
/*
* Oracle accessor based on Session Management for PHP3
*
* Copyright (c) 1998,1999 Luis Francisco Gonzalez Hernandez
*
! * $Id: db_oracle.inc,v 1.3 1999/10/25 08:12:59 kir Exp $
*
*/
***************
*** 35,42 ****
/* copied from db_mysql for completeness */
/* public: identification constant. never change this. */
var $type = "oracle";
! var $revision = "1.2";
!
var $Halt_On_Error = "yes"; ## "yes" (halt with message), "no" (ignore errors quietly), "report" (ignore errror, but spit a warning)
/* public: constructor */
--- 36,42 ----
/* copied from db_mysql for completeness */
/* public: identification constant. never change this. */
var $type = "oracle";
! var $revision = "\$Revision: 1.3 $";
var $Halt_On_Error = "yes"; ## "yes" (halt with message), "no" (ignore errors quietly), "report" (ignore errror, but spit a warning)
/* public: constructor */
***************
*** 169,174 ****
--- 169,175 ----
$col=strtolower(ora_columnname($this->Query_ID,$ix));
$value=ora_getcolumn($this->Query_ID,$ix);
$this->Record[ "$col" ] = $value;
+ $this->Record[ $ix ] = $value;
# echo"<b>[$col]</b>: $value <br>\n";
}
$stat=1;
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: Massimiliano Masserelli: "Re: [PHPLIB-DEV] cvs commit"
- Previous message: Kristian Koehntopp: "[PHPLIB-DEV] Please check out and test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

