Aha i jak możecie, to dajcie jakieś lepsze zapisanie tego, bo coś czuję, że da się tak.
if (($this->user['user_realname']==0) && ($this->user['userlocation']==0) && ($this->user['userpage']==0) && ($this->user['userinterests']==0)) { $this->user['displayRealName'] = '<em>Brak informacji...</em>'; $this->user['displayLocation'] = '<em>Brak informacji...</em>'; $this->user['displayPage'] = '<em>Brak informacji...</em>'; $this->user['displayInterests'] = '<em>Brak informacji...</em>'; } else { $this->user['displayRealName'] = $this->user['user_realname'] ; $this->user['displayLocation'] = $this->user['userlocation']; $this->user['displayPage'] = $this->user['userpage']; $this->user['displayInterests'] = $this->user['userinterests']; } return $this->user;
Pozdrawiam.