전문 번역가, 번역 회사, 웹 페이지 및 자유롭게 사용할 수 있는 번역 저장소 등을 활용합니다.
ocidefinebyname
ociparse
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
ocidefinebyname() binds php variables for fetches of sql-columns.
description
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
?php / * ocidefinebyname example - thies@thieso.net (980219) * / $conn = ocilogon("scott" ,"tiger"); $stmt = ociparse($conn ,"select empno, ename from emp"); / * the define must be done before ociexecute! * / ocidefinebyname($stmt ,"empno",$empno); ocidefinebyname($stmt ,"ename",$ename); ociexecute($stmt); while (ocifetch($stmt)) {echo "empno :".$empno ."\n"; echo "ename :".$ename ."\n";} ocifreestatement($stmt); ocilogoff($conn);?
?php / * ocidefinebypos example thies@thieso.net (980219) * / $conn = ocilogon("scott" ,"tiger"); $stmt = ociparse($conn ,"select empno, ename from emp"); / * the define must be done before ociexecute! * / ocidefinebyname($stmt ,"empno",$empno); ocidefinebyname($stmt ,"ename",$ename); ociexecute($stmt); while (ocifetch($stmt)) {echo "empno :".$empno ."\n"; echo "ename :".$ename ."\n";} ocifreestatement($stmt); ocilogoff($conn);?
마지막 업데이트: 2011-10-24
사용 빈도: 1
품질:
경고: 보이지 않는 HTML 형식이 포함되어 있습니다