Hi everyone i have been trying to code a user system with email validation everything work the only problem is my validation page by default 0 is not validated and 1 is validated BUT when i try my code its display the users control panel as if the users was validated even if she/he not
In MYSQL the validated for my username is set to 0 and its return it as i where activated
Here a part code of the users only page if :
if ($logged[username] && $logged[validated] != “0”)
{
echo (“you are not validated”);
}
else
{
if ($logged[username] && $logged[validated] != “1”)
{
echo (“you are validated”);