プロの翻訳者、企業、ウェブページから自由に利用できる翻訳レポジトリまで。
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 フォーマットが含まれています