what do PDO::PARAM_STMT behavior?

From: Date: Sat, 04 Nov 2006 05:24:05 +0000
Subject: what do PDO::PARAM_STMT behavior?
Groups: php.db 
Request: Send a blank email to php-db+get-42632@lists.php.net to get a copy of this message
Hello php-db-help, for the ref cursor, the oci function use $cur=oci_new_cursor($conn); oci_bind_by_name($stmt,':somename',$cur,-1,OCI_B_CURSOR); oci_execute($stmt); oci_execute($cur);// have to execute in java mode, the cursor, is return as a ResultSet ResultSet cur=(ResultSet) stmt.getObject(someIndex); //not have to execute? the pdo has the const, what will it do? 1 like $pdo->query();//not have to execute; 2 like $pdo->prepare();//have to execute; 3 or other way? a new cursor/result set class? i have to do an adapter between oci function, such as oic_connect, to pdo mode, like new MyPDO('oci:dbname=dbname','user','password'); when the pdo for oracle good for use, i want do replace the driver. so need to know this. help me, thanks nick.yim nick.yim@taowap.com 2006-11-04

« previous php.db (#42632) next »