Basically I have an Oracle stored procedure which does a select and returns the cursor. I know how to user php oracle functions to process the cursor data returned. But I don't know how to do it with PDO.
here my codes
[codes]
<?
$sql1 = "begin pac_t_stock_affiche_title.pro_t_stock_affiche_title(:stockcode1,:rs);end;";
$stmt = $dbh->prepare("begin pac_t_stock_affiche_title.pro_t_stock_affiche_title(:stockcode1,:rs);end;");
$stockcode1 = '000001';
$stmt->bindParam(':stockcode1',$stockcode1, PDO::PARAM_INT, 100);
$stmt->bindParam(':rs',$rs,PDO::PARAM_STR, 100);
?>
[codes]
can not get the result $rs
thank u a looooooot~~