Re: [Q] EXT SQL IN PostgreSQL

From: Date: Thu, 20 Jun 2002 09:50:45 +0000
Subject: Re: [Q] EXT SQL IN PostgreSQL
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5557@lists.php.net to get a copy of this message
This list is not the right list to ask questions. This is Quality Assurance list, not Questions & Answers. Try php-general@lists.php.net or php-db@lists.php.net. -- Yasuo Ohgaki Brown wrote:
# Sorry to my poor English I have a procedure ( named by select_table ) ########################################## BEGIN; select select_table('select_cur','table_name'); FETCH ALL IN select_cur; COMMIT; ########################################## This Query is right In Console (psql). I wanna see a result with php. $sql = " BEGIN; select select_table('select_cur','table_name'); FETCH ALL IN select_cur; COMMIT; "; $result = pg_exec($connect,$sql); $row = pg_fetch_row($result); is not run. How can I get the CURSOR from PostgreSQL with PHP ?


« previous php.qa (#5557) next »