php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5179 Ora_bind and class variables
Submitted: 2000-06-21 20:24 UTC Modified: 2000-06-30 08:32 UTC
From: souza at acol dot com dot br Assigned:
Status: Closed Package: Oracle related
PHP Version: 4.0.0 Release OS: Linux 2.2.15
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: souza at acol dot com dot br
New email:
PHP Version: OS:

 

 [2000-06-21 20:24 UTC] souza at acol dot com dot br
Why this call of ora_bind doesn't work? 
(the variable "this->CstrName" exist and is working fine) 

ora_bind($hSql, "this->CstrName", ":name", 40, 1); 

When I execute the code above I receive the following message: 

Warning: Can't find variable for parameter in test_bind.php3 on line 24 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-30 08:32 UTC] thies at cvs dot php dot net
the ora_ interface only allows binding of globally declared variables.

use the newer oci*() interface if you want to bind variables like this.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 12:01:32 2025 UTC