#44364 [Opn->Fbk]: Access Violation when trying to access statement
| From: | felipe@php.net | Date: | Fri, 07 Mar 2008 17:39:45 +0000 |
| Subject: | #44364 [Opn->Fbk]: Access Violation when trying to access statement | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123028@lists.php.net to get a copy of this message | ||
ID: 44364
Updated by: felipe@php.net
Reported By: johnw at litchfordgroup dot com
-Status: Open
+Status: Feedback
Bug Type: MySQLi related
Operating System: Windows 2003 Server
PHP Version: 5.2.5
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-03-07 17:31:49] johnw at litchfordgroup dot com
Description:
------------
I am trying to take advantage of OOP, I have one function that I can
pass a sql query to and parameters to bind to. The function should
return the statement object so I can then use it in the calling
functon.
In the example, I am using a global variable to the class. I would
rather the function return the statement object but I was getting this
same error. So I tried it as a global variable with no luck.
Reproduce code:
---------------
http://www.litchfordgroup.com/example.txt
Expected result:
----------------
returns statement object so that I can bind the results and access the
values.
Actual result:
--------------
PHP has encountered an Access Violation at 0F18165A
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44364&edit=1