[PHP-DB] Problem with pg_fetch_array

2006-10-23 Thread Vignesh M P N
Hi I am trying to display the rows from a database table in a grid. I retrieved the results using pg_query() with a Select command. pg_query() returns true. But when I pass the results $rows to pg_fetch_array(), it returns false. I even tried displaying the error, if any, using: pg_

[PHP-DB] Problem with Oracle

2006-10-23 Thread Rosen
Hi, I have a problem with PHP and Oracle 10 Database. I read sql script from file and execute it. Files are something like this: insert into pts (pid, txt) values (1,'502a'); insert into pts (pid, txt) values (2,'502b'); . I receive a message: "ORA-00911: invalid character" When I remove manu

RE: [PHP-DB] Problem with pg_fetch_array

2006-10-23 Thread Bastien Koert
show relevant code around the query and attempt to loop thru resultset bastien From: Vignesh M P N <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] Problem with pg_fetch_array Date: Mon, 23 Oct 2006 15:12:25 -0500 Hi I am trying to display the rows from a database table in a

Re: [PHP-DB] Problem with pg_fetch_array

2006-10-23 Thread Chris
Vignesh M P N wrote: Hi I am trying to display the rows from a database table in a grid. I retrieved the results using pg_query() with a Select command. pg_query() returns true. But when I pass the results $rows to pg_fetch_array(), it returns false. I even tried displaying the err

Re: [PHP-DB] Problem with Oracle

2006-10-23 Thread Chris
Rosen wrote: Hi, I have a problem with PHP and Oracle 10 Database. I read sql script from file and execute it. Files are something like this: insert into pts (pid, txt) values (1,'502a'); insert into pts (pid, txt) values (2,'502b'); . I receive a message: "ORA-00911: invalid character" Whe