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

2002-01-09 Thread Martin Towell
could you change this $query2 = (SELECT Month, Score FROM scores WHERE Username = '$Username'); to $query2 = (SELECT count(*) FROM scores WHERE Username = '$Username' and Score = 75 and Month in ('January', 'December', 'November', 'October')); $result2 = mysql_query($query2) or die

[PHP-DB] RE: [PHP] need help looping through each record with a query - st umped

2002-01-09 Thread Martin Towell
: Mehmet Kamil ERISEN [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 11:10 AM To: Martin Towell; 'Brian Tully'; PHP DB; PHP Subject: RE: [PHP] need help looping through each record with a query - st umped If you are querying the Score = 75 how are you ging to take the Consecutive requirement

[PHP-DB] RE: [PHP] Help needed - need to access a value from DB into all pages

2002-02-21 Thread Martin Towell
I can think of three ways you could do this. 1. as a cookie 2. using sessions 3. put it in every link Martin -Original Message- From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 10:59 AM To: PHP db list; PHP List Subject: [PHP] Help needed - need to

[PHP-DB] RE: [PHP] How to Show my Own Error Message Instead of Mysql Error?

2002-06-20 Thread Martin Towell
what about doing a select count(*) from table where username = 'foobar' then, if ($cnt 0) { /* display error */ } else { /* insert new username */ } -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 2:07 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED];

[PHP-DB] RE: [PHP] Hex Help Please...

2002-07-21 Thread Martin Towell
Doesn't look like anyone has replied to you on the php-general mailing list. Have a look at this page http://www.wotsit.org/search.asp?s=graphics some of the docs there might help you HTH Martin -Original Message- From: Georgie Casey [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22,