Quote:
Originally posted by ExAvIoUr
instead of my class name i get this $rpgclass1.
|
you need to change
Code:
$rpgclass2 = '<img src="images/classes/'.$rpgclass1.'.gif" border="0" alt="'.$rpgclass1.'" align="left"><b>$rpgclass1</b>';
to
Code:
$rpgclass2 = '<img src="images/classes/'.$rpgclass1.'.gif" border="0" alt="'.$rpgclass1.'" align="left"><b>'.$rpgclass1.'</b>';
the single quote was basically making it output $rpgclass1 instead of the actual variable