Posted on 2013-01-10
Greetings, I have a variable that is instantiated as a PHP Object
$stats has some key->values assigned to it
$stats->gender = "male";
$stats->age = 34;
if I want the gender I can:
<?PHP echo $stats->gender ?>
what if I want the fieldname, not fieldvalue...
ie. I want "gender" to appear, not "male"...