Answer the question
In order to leave comments, you need to log in
How to fetch data from a database using RedBeanPHP?
Give examples, please, of ways to display a value from the database.
Or explain to me why it doesn't work
Ps There are no errors, it just doesn't display. echo $_SESSION['logged_user']->login;
Answer the question
In order to leave comments, you need to log in
Do you have an object in logged_user? Most probably$_SESSION['logged_user']['login']
What does the session have to do with it? This is orm, which is designed for simplified work with the database..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question