Jump to content

[SOLVED] I CAN'T COUNT PAST 1


phpretard

Recommended Posts

I know this is way off.

 

I would like to count the results of the query.

 

Could someone please help me with this?

 

$result = mysql_query("SELECT * FROM registration WHERE league='Instructional' AND season='$season' AND year='$year' ORDER by player_last");

while($row = mysql_fetch_array($result))
  {
$result1 = count($result);
}

echo $result1;
?> 

 

-Anthony

Link to comment
https://forums.phpfreaks.com/topic/86472-solved-i-cant-count-past-1/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.