[PHP] Re: [PHP-DB] Re: [PHP] need help looping through each record with a query -stumped

2002-01-10 Thread DL Neil
through each record with a query - stumped hey folks - i'm stumped. been working on what i thought would be a simple script to cycle through users' records and perform a query. But I can't get the loops right, it seems like only one or two records get updated. Using MySQL, we

[PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Brian Tully
hey folks - i'm stumped. been working on what i thought would be a simple script to cycle through users' records and perform a query. But I can't get the loops right, it seems like only one or two records get updated. Using MySQL, we have about 2000 students enrolled. each month they take a

Re: [PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Mehmet Kamil ERISEN
Hi, If I am not missing anything, you are not sorting SELECT Month, Score FROM scores WHERE Username = '$Username' Also, the requirement is not three consecutive test in a month, so I would not break the loop into months. once you have it ordered it by the date : while (list($Month,

RE: [PHP] need help looping through each record with a query - stumped

2002-01-09 Thread Martin Towell
with interbase and oracle) Hope that helps Martin -Original Message- From: Brian Tully [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 8:59 AM To: PHP DB; PHP Subject: [PHP] need help looping through each record with a query - stumped hey folks - i'm stumped. been working on what i

Re: [PHP] need help looping through each record with a query -stumped

2002-01-09 Thread Brian Tully
is compatable with interbase and oracle) Hope that helps Martin -Original Message- From: Brian Tully [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 8:59 AM To: PHP DB; PHP Subject: [PHP] need help looping through each record with a query - stumped hey folks