Facing problem with count
Posted: Sat Oct 10, 2009 10:36 pm
Hello there.
The problem:
$matches got 10 results. After I do print_r($mathces); I get this: Array ( [0] => Array ( [0] => hello [1] => hi [2] => devnet [3] => soul [4] => fly ........
Target: I was also trying to echo total number of results, like " You have 10 results in matches"
I tried echo "You Have ".count($matches)."results..";
Actually I'm facing problem with the count of results i have from output. Thanks for your co-operation in advance.

The problem:
$matches got 10 results. After I do print_r($mathces); I get this: Array ( [0] => Array ( [0] => hello [1] => hi [2] => devnet [3] => soul [4] => fly ........
Target: I was also trying to echo total number of results, like " You have 10 results in matches"
I tried echo "You Have ".count($matches)."results..";
Actually I'm facing problem with the count of results i have from output. Thanks for your co-operation in advance.