Re: [PHP] Program Outputs 'Resource id3'

2003-02-15 Thread Jason Wong
On Saturday 15 February 2003 16:55, Guru Geek wrote: > Simple program that opens a txt file and reads two van numbers. Then, > for each van number, it opens a database and grabs the sum of the gross > pay column. > > The problem is I get 'Resource id3' for the first van's gross pay and > 'Resource

[PHP] Program Outputs 'Resource id3'

2003-02-15 Thread Guru Geek
Simple program that opens a txt file and reads two van numbers. Then, for each van number, it opens a database and grabs the sum of the gross pay column. The problem is I get 'Resource id3' for the first van's gross pay and 'Resource id4' for the second van's gross pay. Here's the code: if ($vi