|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-09-16 04:09 UTC] thies at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 02:00:01 2025 UTC |
OCIResult normaly gets the number and date values but it doesn't get varchar values. $conn = OCILogon("polad_sys", "polad_sys", "POLAD5-TCP.world"); $sql = "select * from test"; $stat = OCIParse($conn, $sql); OCIExecute($stat, OCI_DEFAULT); while (OCIFetch($stat)) { $ncols = OCINumCols($stat); for ( $i = 1; $i <= $ncols; $i++ ) { $result = OCIResult($stat, $i); /* !!!! */ print $result; /* using $result[1] I get the first char of the string */ echo "<BR>"; } echo "</TR>"; } OCIFreeStatement($stat); OCILogoff($conn);