Re: [PHP-DB] Oracle session cursor

2001-04-16 Thread Manuel Lemos
Hello Doug, On 16-Apr-01 01:29:30, you wrote: >As you all know, PHP is stateless. Meaning that once the script ends, all >connections are closed and the program is done. >I have a project where I need to do just 1 query to oracle, but only get one >row per page. So on the first page it does th

Re: [PHP-DB] Oracle session cursor

2001-04-15 Thread Aleksey Yarilovets
Hi ! I think the only way to do one query is DO one query into the sesission variable array and create index of current shown row and so you will get it works. session_register ("storage_array"); storage_array = array(); session_register("curr_idx");$curr_idx=-1; # your select here into sto

[PHP-DB] Oracle session cursor

2001-04-15 Thread Doug Schasteen
As you all know, PHP is stateless. Meaning that once the script ends, all connections are closed and the program is done. I have a project where I need to do just 1 query to oracle, but only get one row per page. So on the first page it does the query and says "20 results total" and shows the