Jump to content

[SOLVED] Count items


timmah1

Recommended Posts

Sorry, trying to type to fast.

 

I appreciate your response in my last post, I just stepped into something over my head, and unfortunately, I have to have it done tonight.

 

Could anybody possibly tell me why this only echoe's out 1, when there are actually two?

 

$a['sport'] is listed in database like nba,ncaab

 

echo count($a[sport])."<br>";

Link to comment
https://forums.phpfreaks.com/topic/137737-solved-count-items/#findComment-720074
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.