I'm using the following code to get all the data in my table:
$sql4 = mysqli_query($db, "SELECT * FROM login");
$exibe4 = mysqli_fetch_assoc($sql4);
It is working perfectly and is picking up all normal data.
But before, when it was a specific data, I added session
like this:
$_SESSION['diasvip']=$exibe['diasvip'];
But now how I want ALL data do not know how to do!
$_SESSION['dados']=$exibe4['*'];
Obviously, this would not work, but only to illustrate my goal.