Re: [PHP-DB] No resultset with ocibindbyname

2008-02-27 Thread Manuel Schölling
Hi, > select * FROM projekte_generisch where trim(pid)=:pid Thanks Roberto! This solution with trim() works like a charm! Cheers, Manuel -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] No resultset with ocibindbyname

2008-02-25 Thread Manuel Schölling
Hi Christopher, thanks for caring about my problem. ;) > I couldn't reproduce your problem. What does your table look like? > What version of PHP & OCI8? What version of Oracle? I using PHP 5.2.5 on a Linux 2.6.9 machine. The version of OCI8 is 1.2.4 (Revision 1.269.2.16.2.38, Oracle Instant C

[PHP-DB] No resultset with ocibindbyname

2008-02-24 Thread Manuel Schölling
Hi guys, sorry for spamming your mailing list. I have a strange problem with ocibindbyname(): I use this simple code to start an SQL query: $sql = "Select * from projekte_generisch where pid=:data"; $conn = oci_connect("secret", "secret", "secret"); $cur = oci_parse($conn, $sql); my_dump($conn,