I am a PHP newbie and I am having problems reading a 2-dimensional array. I believe an array was built during my fetch statement. I am able to display the fetched data but now after the fetch statement is complete, I would like to read the array I have just built to perform additional calculation. How do you access elements in this new array once the fetch statement is done? Any help would be a true act of kindness. I have been working on this a week. Below is the code that fetches and displays the info. Now I need to walk the array.
$build = "select casename, casedesc,
planperiodstartdttm,planperiodenddttm ";
$build .= "from commoncase_c ";
$page_stmt = OCIParse($connection,$build);
OCIExecute($page_stmt);
for($i=0;OCIFetchinto($page_stmt,&$row,OCI_ASSOC); $i++)
{
echo("<tr> ");
echo("<fontcolor='#435A82'>$row[CASENAME]</font>");
echo("<fontcolor='#435A82'>$row[CASEDESC]</font>");
echo("fontcolor='#435A82'>$row[PLANPERIODSTARTDTTM]</font>");
echo("<fontcolor='#435A82'>$row[PLANPERIODENDDTTM]</font><BR>\n
");
}