Re: [firebird-support] PHP PDO fetch from insert... into... or from stored procedure without suspend clause? Is it possible?

2016-09-13 Thread Lester Caine les...@lsces.co.uk [firebird-support]
On 13/09/16 11:09, jonatan.laurit...@yahoo.dk [firebird-support] wrote:
> I tried to create new topic in firebird-php but it is getting list, not
> visible. :((

On all the yahoo lists the fist posts are moderated. It's up now ...

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk


Re: [firebird-support] PHP PDO fetch from insert... into... or from stored procedure without suspend clause? Is it possible?

2016-09-13 Thread jonatan.laurit...@yahoo.dk [firebird-support]
I tried to create new topic in firebird-php but it is getting list, not 
visible. :((

Re: [firebird-support] PHP PDO fetch from insert... into... or from stored procedure without suspend clause? Is it possible?

2016-09-13 Thread Lester Caine les...@lsces.co.uk [firebird-support]
On 13/09/16 06:30, jonatan.laurit...@yahoo.dk [firebird-support] wrote:
> But it looks like from the Yii2 code that select and insert...returning
> is handled alike in the PHP Data Objects. Can it be possible that
> Firebird PDO driver deviates from the official PDO interface. Who
> develops pdo_firebird.dll and is it possible to adapt is behavior?

As Helen has indicated firebird-php list is the right place for
discussions on the php drivers, but we COULD do with the help of the
wider Firebird community in improving and more critically ensuring
firebird drivers remain available in php.

There is currently no official maintainer of the drivers and personally
I don't use the PDO version simply because the PDO architecture was
always wrong. The interbase generic driver still works fine, but with
FB3 out it is probably time to finally split the firebird version to
it's own package. Something that needs help from the 'c' coders more
than the 'php' ones :(

-- 
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk


Re: [firebird-support] PHP PDO fetch from insert... into... or from stored procedure without suspend clause? Is it possible?

2016-09-13 Thread Helen Borrie hele...@iinet.net.au [firebird-support]
Hello jonatan.laurit...@yahoo.dk,

Tuesday, September 13, 2016, 5:30:28 PM, you wrote:



> But it looks like from the Yii2 code that select and
> insert...returning is handled alike in the PHP Data Objects. Can it
> be possible that Firebird PDO driver deviates from the official PDO
> interface. Who develops pdo_firebird.dll and is it possible to adapt is 
> behavior?

Actually, you are asking your question in the wrong list.  Subscribe
to firebird-php and you should get the help you need.  Subscribe links
for all our lists are at http://www.firebirdsql.org/en/mailing-lists/

Helen (Moderator)



Re: [firebird-support] PHP PDO fetch from insert... into... or from stored procedure without suspend clause? Is it possible?

2016-09-12 Thread jonatan.laurit...@yahoo.dk [firebird-support]
But it looks like from the Yii2 code that select and insert...returning is 
handled alike in the PHP Data Objects. Can it be possible that Firebird PDO 
driver deviates from the official PDO interface. Who develops pdo_firebird.dll 
and is it possible to adapt is behavior?

Re: [firebird-support] PHP PDO fetch from insert... into... or from stored procedure without suspend clause? Is it possible?

2016-09-12 Thread Dimitry Sibiryakov s...@ibphoenix.com [firebird-support]
12.09.2016 12:19, jonatan.laurit...@yahoo.dk [firebird-support] wrote:
> Is is possible to execute insert... into... and fetch result at all with 
> Firebird?

   No. "insert into returning" produce singleton result, not result set. You 
must threat 
it the same way as "execute procedure" statement.

http://php.net/manual/en/pdo.prepared-statements.php

-- 
   WBR, SD.






++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/ 

++


Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-support/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/firebird-support/join
(Yahoo! ID required)

<*> To change settings via email:
firebird-support-dig...@yahoogroups.com 
firebird-support-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
firebird-support-unsubscr...@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/