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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 22:01:27 2024 UTC