Thank you for your help, I've tested so much tips and the solution was hidded inside the stored user id in SESSION
so what I've did is to change this variable $_SESSION['username'] = $result->action_code; and show it inside my input's value. and it works perfectly I did a lot of tests and it is done.
Thank you guys for all your help. its been a pleasure to learn from you devs. Have a good week ♥
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.