Hi Folks,
I have this code segment:
$query = "Select * from Payments order by CustID";
..
.. /* execute the query */
..
if (ora_exec($cursor))
{
$recordset=array();
while (ora_fetch_into($cursor,$recordset,ORA_FETCHINTO_N ULLS|
ORA_FETCHINTO_ASSOC))
{
echo $recordset["CustID"]."<BR>";
echo $recordset["Amount"]."<BR>";
}
}
Gives me the following error
Notice: Undefined index: CustID
Notice: Undefined index: Amount
The table Payments has only CustID and Amount as attributes. is my
usage of the array offset incorrect?