Difference between revisions of "Template:Quran Sura InfoBox"

From HodHood
Jump to: navigation, search
m ($a = explode( ', ', $argv['sura-index-of-subjects'] ); var_dump( $a );)
m (foreach ( $a as $value ))
Line 236: Line 236:
  
 
$a = explode( ', ', $argv['sura-index-of-subjects'] );
 
$a = explode( ', ', $argv['sura-index-of-subjects'] );
var_dump( $a );
+
 
 +
$return = [];
 +
foreach ( $a as $value ) {
 +
  $fl = lc( $value[0] );
 +
  $return[$fl][] = $value;
 +
}
 +
var_dump( $return );
  
 
echo '
 
echo '

Revision as of 17:43, 29 March 2018

Sura Attributes

HodHoodQuranLogo.PNG