Hello friends,

I am following a tutorial from youtube to build a login system
it was written in mysql

i have converted most parts to mysqli
but stuck at some point
i just want echo the user id based on the login
to check if things are working before i move on to the session part
but its not displaying the id
although the login works

my code for index.php

PHP:

my code for connect.inc.php...

User id not displaying in login system