|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-07 09:32 UTC] kalowsky@php.net
[2003-01-07 14:49 UTC] michael dot mauch at gmx dot de
[2003-01-08 03:38 UTC] stephan dot rey at zurich dot ch
[2003-01-08 04:17 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 19:00:01 2025 UTC |
I'm trying to get some (existing) records oput of an Oracle8-Database. As long as I do a query, which can't have any results, everything works fine. But if I write a SELECT-statement, which should give at least one result, the whole thing hangs or I get the message 'The page cannot be displayed'. example (which causes me troubles): <?php putenv('ORACLE_HOME=/opt/oracle/OraHome1'); putenv('TNS_ADMIN=/opt/oracle/OraHome1/network/admin'); putenv('TWO_TASK=/opt/oracle/OraHome1/network/admin/tnsnames.ora'); $user=""; $pwd=""; $conn = ocilogon($user,$pwd,"TNEUN2"); $sql="select * from t_person WHERE name like 'Muster' ORDER BY name, firstname, notes, racf"; $stmt=ociparse($conn,$sql); ociexecute($stmt); echo $sql; ?> The 'echo-statement' is only used to verify that the script has finished! The statement "select max(id_pers) from t_person" for example works fine. Thanks in advance! Greetings Stephan