Answer the question
In order to leave comments, you need to log in
How to select value from session?
Hello. How to get a value from the session, if with such a request
<?php
session_start();
$t1 = $_SESSION["user"];
echo $t1;
?>
$t1 = $_SESSION["user"][4];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question