PHP SESSIONS Question -
When a user logs in then I should report it there $ _ session ['user_id']
user id or not? For example, just like the code below.
mysqli_real_escape_string ($ mysqli, htmlentities (strip_tags ($ _ session ['user_id']))); Session data is stored server-side, so it must be approved before being added to it. $ _ session
in the first place.
Comments
Post a Comment