[PHP] 2 columns same name cuz of a join

2001-02-26 Thread Jason Jacobs
Hi again. :) Does anyone know how to reference a value in an array or object if the returned table has 2 fields of the same name. IE, I am querying 2 tables and returning an id value from each. On both tables, the id fieldname is "id". I know I can access the vals like $array[0] and

Re: [PHP] 2 columns same name cuz of a join

2001-02-26 Thread Jason Murray
Jason Jacobs wrote: Hi again. :) Does anyone know how to reference a value in an array or object if the returned table has 2 fields of the same name. IE, I am querying 2 tables and returning an id value from each. On both tables, the id fieldname is "id". I know I can access the vals