ID:               5939
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cedric_carbier at mail dot dotcom dot fr
-Status:           Open
+Status:           Closed
 Bug Type:         ODBC related
 Operating System: Win NT 4.0
-PHP Version:      Earlier? Upgrade first!
+PHP Version:      3


Previous Comments:
------------------------------------------------------------------------

[2000-08-03 10:57:35] cedric_carbier at mail dot dotcom dot fr

Hi everybody,

When I try to access an Oracle DB with the ODBC functions (a simple
SELECT request...), I do get the result that I want but my Web browser
keeps on looking for something.
Furthermore, the PHP.EXE process on my Web server keeps on running
(that is, after 5 or 6 requests, the server gets out of memory and I
must kill these processes myself...)

Here is a little piece of my program...

$connectionID = odbc_connect("PEGASE", "pub", "pub");
$resultID = odbc_exec($connectionID, "select * from edv.item_master
where part_number like '" . 
                        $partNr . "'");
$count=0;
while($temp = odbc_fetch_into($resultID,&$tempArray)){
    $count++;                                   
}                               
                        
$designation = $tempArray[16];  
$ref = $tempArray[34];  
                                
odbc_close($connectionID);      


Cheers,

        Cedric



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=5939&edit=1

Reply via email to