× 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.



Still trying to understand the new version of the client. Was saving the
script to my C: drive instead of my mapped one to HTDOCS. But anyway,
still does not work, here is the log using your example Alfredo.
i5_setparam() [<a href='function.i5-setparam'>function.i5-setparam</a>]:
Parameter 1 must be a ressource but a bool was passed\n in
i5_execute() [<a href='function.i5-execute'>function.i5-execute</a>]:
Parameter 1 must be a ressource but a bool was passed\n in /ww

I'd recommend using the db2 functions over the i5, but that is just me.

Regardless, you prepare is failing.

$qUpdateCustomer = "CALL NEWJCLIB/PROC_JC15_SEL( ? )";
$request = i5_prepare( $qUpdateCustomer );

If the prepare fails "false" is returned by i5_prepare. When you go to
bind, it says a bool is encountered. I would add something like this after
the prepare:

if ($request === false) {
echo "The following error occurred: " . i5_errormsg() ;
}

You could also print the error to a log, but reguardless you need to verify
that the prepare is failing and hopefully the i5_errormsg() will provide a
clue as to why.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.