Hi Folks,
I have this code segment:
$query = "Select * from Payments order by CustID";
..
.. /* execute the query */
..
if (ora_exec($curs or))
{
$recordset=arra y();
while (ora_fetch_into ($cursor,$recor dset,ORA_FETCHI NTO_NULLS|
ORA_FETCHINTO_A SSOC))
{
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?
I have this code segment:
$query = "Select * from Payments order by CustID";
..
.. /* execute the query */
..
if (ora_exec($curs or))
{
$recordset=arra y();
while (ora_fetch_into ($cursor,$recor dset,ORA_FETCHI NTO_NULLS|
ORA_FETCHINTO_A SSOC))
{
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?
Comment