I am relatively new to PHP but I've managed to get a user management system going.
Here is what happening:
echo "Welcome, ". $_SESSION['user_name']."! You are member ". $_SESSION['userid']."<br /><br />";
The first session basically outputs: Welcome, Pricyber!
The second session is SUPPOSED to output the userid except it outputs nothing.
When creating my database, userid and some other fields do not have an underscore (_) and they won't output. But anything that does have an underscore (such as user_name) does output.
Is this normal?