Hello friends,
Say I'm getting/looping throught a recordset as such:
$rsRec = $conn->getMyRecordset();
while($row = mssql_fetch_array($rsRec))
{
$first_value = $row["first_value"];
echo($first_value);
}
On a large record set I'll get a "Can not read at memory location..."
error. If I include a line:
$first_value = 0;
after the echo statement just before the while loop is returned, it works
fine. I've had to do this in situations where many values are having to be
reset. Why is the necessary and is there a better way?
Many thanks,
Michael