|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-17 11:22 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 12:00:01 2025 UTC |
I have just upgraded from 4.1.2 to 4.2.3. The same code is fine in 4.1.2 but not in 4.2.3. $sql = "SELECT can#id canid FROM cvs WHERE can#id = TO_NUMBER('".$candid."')"; $resultcanid = sql_exec($connectionid, $sql); sql_fetch_row ($resultcanid); echo sql_result($result,"name"); In 4.1.2 if fetch returned nothing then nothing/null is echoed In 4.2.3 the echo produces what looks like buffer info from a previous query. I use same variables for just about all queries ($sql,$result etc) N.B. sql_exec function does a OCIparase followed by a OCIExecute sql_fetch_row does OCIFetch sql_result does OCIResult