Difference between revisions of "Template:Unique values"

From HodHood
Jump to: navigation, search
Line 6: Line 6:
 
   if ( isset( $count[$v] ) ) {
 
   if ( isset( $count[$v] ) ) {
 
     $count[$v]++;
 
     $count[$v]++;
 +
    echo $v, "\n\n";
 
   } else {
 
   } else {
 
     $count[$v] = 1;
 
     $count[$v] = 1;

Revision as of 06:57, 23 February 2018

PhpTags Notice: Undefined index: 1 in Template:Unique values on line 3
PhpTags Notice: Undefined index: 2 in Template:Unique values on line 4
PhpTags Warning: explode() expects parameter 2 to be string, NULL given in Template:Unique values on line 4
PhpTags Warning: Invalid argument supplied for foreach() in Template:Unique values on line 5