wahsaga: Objekt Problem

Beitrag lesen

hi,

echo $this->mysql->$this->table;

ich greife also auf das objekt mysql zu und möchte dann variabel eine variable davon ausgeben.

$this->mysql is das Objekt, also liegen Variablen (Attribute) direkt darunter.

$this->mysql->attributname

Und wenn der Attributname dynamisch in einer Variablenstehen soll, dann halt

$this->mysql->$variablerAttributname

gruß,
wahsaga

--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }