Hi,

i still need help with this query:

$t = 7;
$shot_counts = "SELECT COUNT(*) FROM statistik WHERE shooter='$shooter_login' AND 
(shot_one = '$t' OR shot_two = '$t' OR shot_three = '$t' OR shot_four = '$t' OR 
shot_five = '$t')";

It doesn´t return the correct count. I have tried to tweak the syntax around, 
excluding one or more columns to count etc. But it still gives the wrong count. What´s 
wrong?

- Daniel


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to