Ben bu hatayı alıyorum:
Fatal error: Call to undefined function () in /home/gmfeedsc/domains/cekdahl.com/public_html/virek/system/application/views/rekommendationer/visa.php on line 263
Ve bu satır olduğunu:
<?php if ( ($post['users_id'] == $this->userId) || ($this->userLevel > 0) ): ?>
Ve ben bunu anlamaya olamaz. Ben () karşılaştırma çevresinde bir fonksiyonu olduğunu, ama başka nasıl ben bunu yazmak düşünüyordum çünkü sanırım? teşekkürler.
EDIT: My script is a Codeigniter view, and the surrounding code is only XHTML. Since practice mandates that I shouldn't retrieve variables by $this-> in the view, I made them variables instead and the code looks like this now:
<?php if ( ($post['users_id'] == $userId) || ($userLevel > 0) ): ?>
Ben bunları bir araya koyduğunuzda bu ifadeler bağımsız olarak çalışır, sorun ortaya çıkar.