From:             [EMAIL PROTECTED]
Operating system: Win32, Linux
PHP version:      4.0.5
PHP Bug Type:     InterBase related
Bug description:  Cannot execute stored procedures

Hello,

when I wrote some scripts that inserting some data to database, I must call stored 
procedures
for getting some data (typically id from generator). I want
execute stored procedures, that return next row id.

I add some code to interbase PHP module, that support execution of stored procedures.

With my patch, procedure is executed by
$res = ibase_query($db, "execute procedure procedure_name");
$row = ibase_fetch_row($res);

In $row is row returned by procedure.

Patch may be found on http://www.penguin.cz/~michlv/software/phpibase/

If any question write me.

Vladimir Michl <[EMAIL PROTECTED]>
PS: Patch is ported from 4.0.3pl1 where is functional.


-- 
Edit Bug report at: http://bugs.php.net/?id=11468&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to