× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.





We have a PHP script that calls a stored procedure that works fine under
Zend Core/PHP 5.2. When it runs under Zend Server 5/PHP 5.3, we get
errors. Code is exactly the same. I have verified that a value has been
assigned to $timestamp correctly at the time of the call.

<?php

$timestamp = getNextId();
$retcode = 0;

$stmt = $dbAccess->prepare('CALL occupdate.sp_processUpdate(?, ?)');

db2_bind_param($stmt, 1, "timestamp", DB2_PARAM_IN);
db2_bind_param($stmt, 2, "retcode", DB2_PARAM_OUT);;

$result = db2_execute($stmt);

?>

Here are the errors we get:);

[28-Jun-2010 15:56:01] PHP Warning: db2_execute() [<a
href='function.db2-execute'>function.db2-execute</a>]: Value Not Bound
in /phpscripts/BrlLib_1.1/BrlOrderUpdate.php on line 51
[28-Jun-2010 15:56:01] PHP Warning: db2_execute() [<a
href='function.db2-execute'>function.db2-execute</a>]: Binding Error 3
in /phpscripts/BrlLib_1.1/BrlOrderUpdate.php on line 51

Matt


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.