Re: MySQL, PHP Online user
Given columns username and logged_in in your users table, you would have authenticated the current user against that table and stored her username in a PHP $_SESSION[] variable, say $_SESSION'current_user'].
Then your on-offline radio button or checkbox for a given username is driven by a comparison with $_SESSION'current_user'].
Subject
Written By
Posted
Re: MySQL, PHP Online user
July 29, 2017 05:12PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.