Subject | Re: [firebird-php] firebird + PDO - what is the status? |
---|---|
Author | Jochem Maas |
Post date | 2005-08-04T14:51:41Z |
Yves Glodt wrote:
and I have put a item on my todo list to try out you app!
I always like to see firebird/php in action :-)
thanks!
in the past. (the 'localhost:' prefixed to 'd:')
> Jochem Maas wrote:did that - quite helpful thanks!
>
>>hi guys,
>
>
> Hi,
>
>
>>anyone know if firebird/PDO is usuable yet? has anyone tried it
>>lately? whats you're experience?
>
>
> I played with it a little (partly porting one of my apps to it
> http://i-man.sf.net), and it seems to work...
>
> Take this as example code (or check iman's cvs, the file is /db/pdo.php):
and I have put a item on my todo list to try out you app!
I always like to see firebird/php in action :-)
thanks!
>interesting to see that this dns works - I've had trouble with this
>
> $user = "SYSDBA";
> $password = "masterke";
> $test_base = "localhost:d:\i-man.gdb";
in the past. (the 'localhost:' prefixed to 'd:')
> $db = new PDO("firebird:dbname=$test_base",$user,$password) or
> die('Connection failed');
>
>
> foreach ($db->query('select * from iman_content') as $row) {
> print $row[0].' - '.$row[1].' - '.$row[2]."<br>\n";
> }
>
>
>
>
>>just curious.
>>
>>regarding PDO I just noticed a rather informative email by Wez Furlong
>>regarding PDO in general entitled '[PHP-DB] Re: [PDO] unexpected behaviour'
>>on the php-db list (from the 9th of July) - someone might find it enlightening.
>>
>>
>>
>>
>>Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>>.
>>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>