Difference between revisions of "Template:Unique values"
From HodHood
P.Astakhov (talk | contribs) |
P.Astakhov (talk | contribs) |
||
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]++; | ||
− | |||
} 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> |