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
//Oracle command
/*
begin
-- Call the procedure
pac_t_stock_affiche_title.pro_t_stock_affiche_title(stockcode1 => :stockcode1,
rs => :rs);
end;
*/
<?
$sql1 = "begin pac_t_stock_affiche_title.pro_t_stock_affiche_title(:stockcode1,:rs);end;";
$stmt = $dbh->prepare($sql1);
$stockcode1 = '000001';
$stmt->bindParam(':stockcode1',$stockcode1, PDO::PARAM_INT, 100);
$stmt->bindParam(':rs',$rs,PDO::PARAM_STR, 100);
$stmt ->execute();
?>
can not return $rs
help me ~~~~!