Re: [PHP] Cannot use a scalar value as an array

2001-12-04 Thread Steve Cayford
On Tuesday, December 4, 2001, at 06:04 AM, Xavier Antoviaque wrote: > > Hello all, > > I have a problem with a php script, which I want to use to fetch two > data > (integer) from a MySQL table, divide the first by the second, and store > the > value resulting in an double array. That seems n

[PHP] Cannot use a scalar value as an array

2001-12-04 Thread Xavier Antoviaque
Hello all, I have a problem with a php script, which I want to use to fetch two data (integer) from a MySQL table, divide the first by the second, and store the value resulting in an double array. That seems not very difficult, but I always have the error 'Cannot use a scalar value as an arra