Hi, Anybody to help me people, I tried all my best but I can't get the answer. In user_find.php page, there is a User object called user e.g. $user = new User(), under this object I'm struggling on how to initialize a user_id from database, because in tutorial letter it is initialized like this
Language: PHP
$user->getUserById($ID);
, whereas it should be a number like this
Language: PHP
$user->getUserById(1);
, so if it a number, I dont think it a good idea because, I'll have to select from a list, in oop4.php