Re: [PHP-DB] losing first row of an array

2001-11-02 Thread Seany
t quite get what you're asking... Could you be more specific? > > > -Original Message- > From: Seany [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 5:48 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] losing first row of an array > > > n

RE: [PHP-DB] losing first row of an array

2001-11-02 Thread Matthew Loff
I don't quite get what you're asking... Could you be more specific? -Original Message- From: Seany [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 5:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] losing first row of an array nice spot I went blind for a min..

Re: [PHP-DB] losing first row of an array

2001-11-02 Thread Seany
nice spot I went blind for a min.lol is there any to write columns first but still call fields with headers? as writing in a table would not allow keeping tags open ie. echo"col[1]"; echo"col[2]"; array_flip do the job? but how? Sean Matthew Loff <[EMAIL PROTECTED]> wrote in message 005

RE: [PHP-DB] losing first row of an array

2001-11-02 Thread Matthew Loff
You are overwriting the first row. $result = mysql_query("SELECT clubac.id AS clubacid, clubac.club_id, clubac.ac_year, clubac.ac_type, club.id FROM clubac, club WHERE club.id = '$club_id' AND clubac.club_id = club.id"); if(mysql_num_rows()) while ($row = mysql_fetch_array($result)

Re: [PHP-DB] losing first row of an array

2001-11-02 Thread Steve Cayford
On Friday, November 2, 2001, at 01:09 PM, Seany wrote: > having this code running PHP4.0b2 > > $result = mysql_query("SELECT clubac.id AS clubacid, clubac.club_id, > clubac.ac_year, clubac.ac_type, club.id > FROM clubac, club WHERE club.id = '$club_id' AND clubac.club_id = > club.id"); > > $ro