I am very new to using php with oracle. I know how to pull in rows from mysql and use them but can't seem to get it working in oracle.
Can anyone help below is my code.
ociexecute($correct);
while ($crows = ocifetchstatement($correct, $res, "0", "-1", OCI_FETCHSTATEMENT_BY_ROW+OCI_NUM)) {
echo "<tr>" ;
echo "<td> $res[0] . </td>";
echo "<td>. $res[1] .</td>";
echo "<td>. $res[2] .</td>";
echo "</tr>";
I know the $corre ct sql works as I have tried it in the db I am connecting to.
Thanks
devo