Date: 09/05/00
- Next message: Jelena Pjesivac: "[phplib] Question about migrating to ldap (again)"
- Previous message: Jensen Tim-TAJENS1: "[phplib] Parse error in db_oci8.inc"
- In reply to: Jensen Tim-TAJENS1: "[phplib] Parse error in db_oci8.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
OTOH php3 can't handle multiple "->"-dereferences.
$that=$this->Record[$Name];
return $that->load();
instead of
return $this->Record[$Name]->load();
should work fine. Maybe this is be a reason more to migrate to php4. It has
no problems with both of the statements above :)
regards
messju mohr
On Tue, 5 Sep 2000, Jensen Tim-TAJENS1 wrote:
> I'm running PHP 3.0.16 and just loaded PHPLIB 7.2c. I'm connecting to an
> oracle 8i database through the db_oci8.inc. The problem is that I'm getting
> a parse error on line 225. The following is the code w/ line numbers from
> db_oci8.inc. Does anybody know what I need to change to fix this problem?
>
> 222> function f($Name) {
> 223> if (is_object($this->Record[$Name]))
> 224> {
> 225> return $this->Record[$Name]->load();
> 226> } else
> 227> {
> 228> return $this->Record[$Name];
> 229> }
> 230> }
>
> Thanks,
>
> --Tim
- --
Matthias Mohr <m.mohr <email protected>> (Software-Entwicklung)
Internet Factory AG, Niederlassung Industriestr. 11, 26121 Oldenburg
Tel: (+49) (0)441 - 77 92 10 Fax: (+49) (0)441 - 77 92 177
http://www.internet-factory.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: PGPEnvelope - http://www.bigfoot.com/~ftobin/resources.html
iD8DBQE5tRSbubKPpFA4n0URAuk2AJ4o7vnGnl0fPyXGoIORf4vYxJ+pFwCePDNm
5AxCrUYBcrTyV2cBMmfpLEY=
=+Kjk
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Jelena Pjesivac: "[phplib] Question about migrating to ldap (again)"
- Previous message: Jensen Tim-TAJENS1: "[phplib] Parse error in db_oci8.inc"
- In reply to: Jensen Tim-TAJENS1: "[phplib] Parse error in db_oci8.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

