Hi there i need to get div classes to the Warrior Paladin...Etc.
How should i do it. A example would be great, you learn alot from testing when u know ateast how to begin.
@echo $classArray <div>warrior</div> something like that ?
Thx anywaysPHP Code:class wow_guild{
private $assignstr = '';
private $classArray;
private $raceArray;
private $rankArray;
function __construct(){
global $cfg;
$this->classArray = array('0', 'Warrior', 'Paladin', 'Hunter', 'Rogue', 'Priest', 'Death Knight', 'Shaman', 'Mage', 'Warlock', '10', 'Druid');
$this->raceArray = array('0', 'Human', 'Orc', 'Dwarf', 'Night Elf', 'Undead', 'Tauren', 'Gnome', 'Troll', '9', 'Blood Elf', 'Draenei');
$this->rankArray = explode(',', $cfg['plugin']['roster']['txt_ranks']);
}
![]()



Reply With Quote
Bookmarks