Subject RE: [firebird-php] Ibase_query -> specify transaction
Author Alan McDonald
that's actually wrong in relation to the default page transaction. You can
call ibase_rollback() with no identifier and you will rollback (or commit)
this default transaction.
In fact in cases where a script sends a Location call before explicitly
calling commit before the page script is finished the default action is
rollback.
Alan
-----Original Message-----
From: firebird-php@yahoogroups.com [mailto:firebird-php@yahoogroups.com]On
Behalf Of Lester Caine
Sent: Tuesday, 14 June 2005 6:38 AM
To: firebird-php@yahoogroups.com
Subject: Re: [firebird-php] Ibase_query -> specify transaction


Simon Carter wrote:

> Hi all,
>
> I am slowly getting to grips with ibase_* API in PHP. However I am a
little
> stuck on how to specify a transaction resource to a execute/query
function.
> I have looked at:
>
> http://uk2.php.net/manual/en/function.ibase-query.php
> http://uk2.php.net/manual/en/function.ibase-execute.php
>
> And neither one of these requires (as far as I can tell) the transaction
as
> a parameter. Am I missing the obvious somewhere?

Check
http://uk2.php.net/manual/en/function.ibase-trans.php
First user comment shows you the trick ;)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services


----------------------------------------------------------------------------
--
Yahoo! Groups Links

a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/

b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]