Subject | Re: [firebird-php] ibase_param_info |
---|---|
Author | masotti |
Post date | 2010-07-28T08:49:16Z |
On 28/07/2010 10:00, Sándor Tamás wrote:
I've not checked recent releases, but 5.2.6 PHP docs incorrectly states
about "name" and "alias" because a rapid check can confirm that in that
release ibase_param_info() returns an array with "type" and "length": no
name then.
And this make sense, because parameteres in queries are positional only
with a question mark and not named parameters.
Ciao.
Mimmo.
>Mmhh.. are you sure?
>
> Hello,
>
> I'm just curious about the naming of FB parameters.
> I realized, that ibase_param_info returns an array which has a "name"
> and an "alias" key. How can I give these values to an ibase_prepare
> statement?
I've not checked recent releases, but 5.2.6 PHP docs incorrectly states
about "name" and "alias" because a rapid check can confirm that in that
release ibase_param_info() returns an array with "type" and "length": no
name then.
And this make sense, because parameteres in queries are positional only
with a question mark and not named parameters.
Ciao.
Mimmo.