Difference between revisions of "Template:Unique values"

From HodHood
Jump to: navigation, search
Line 1: Line 1:
<phptag>
+
<includeonly><phptag>
 
global $count;
 
global $count;
 
$page = $argv[1];
 
$page = $argv[1];
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;
Line 14: Line 13:
 
//var_dump( $argv[1] );
 
//var_dump( $argv[1] );
 
//var_dump( $val );
 
//var_dump( $val );
</phptag>
+
</phptag></includeonly>

Revision as of 07:15, 23 February 2018