hello,
i'm still newbie using OCI in php. can anybody help me how to write sum of the selected field as below..
$query5 = "SELECT SUM(e_duration) FROM events WHERE t_id='$t_id';";
$stmt5 = OCIParse($oci_link,$query5);
OCIExecute($stmt5);
if (ocifetch($stmt5)) {
..
..
..
}
thanx in advance..🙂