Posted by Malcolm Dew-Jones on 05/29/05 07:10
Ewoud Dronkert (firstname@lastname.net.invalid) wrote:
: On 28 May 2005 13:45:10 -0800, Malcolm Dew-Jones wrote:
: > $sum += $row[cost];
: Array indices are numeric or string, not constant. It works because it
: used to work in ancient php, but you should really say:
: $sum += $row['cost'];
good point thanks.
--
This space not for rent.
Navigation:
[Reply to this message]
|