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



Hi Scott -

All I get is this:

Resource id #1
Execute failed: :db2_execute failed

So I'm echoing my connection number (#1), but I don't see the
db2_stmt_error(), though I do see the db2_stmt_errormsg().

Thanks...

- Michael

On Wed, Dec 1, 2010 at 1:57 PM, Scott Klement <web400@xxxxxxxxxxxxxxxx>wrote:

Your code prints the error you get from the db2_execute(). Please share
that error message with us, so we have a starting point.

Thanks!


On 12/1/2010 12:46 PM, Michael Ryan wrote:
Could someone help me out with this? I'm trying to call a stored
procedure
from my PHP script. Lots of help from lots of folks, and it's very much
appreciated. I've decided to use the MODS approach. I'm getting an error
on
the db2_execute...here's a link to the PHP code:
http://code.midrange.com/09a32d9a0e.html
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



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.