Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit
https://github.com/akelos/akelos/issues
Akelos PHP Framework Forum
Discussions
Categories
Akelos Programming
: conditional statement in view template
Bottom of Page
1 to 2 of 2
CommentAuthor
raslam
hi,
can I write something like this in views?
<code>{?post.member_id = session-user-id}</code>
we are not allowed to use $_SESSION in templates.
please advise.
--
raslam
CommentAuthor
bermi
$_SESSION['user']['id'] is also available at {params-user-id}
1 to 2 of 2
Back to Discussions
Top of Page