I'm new to PDO. I want to declare a fix variable inside the class and then be able to call that variable in every public function within the class. Therefore I am having difficulties to proceed the calling inside a function.
class Auth extends Database{
public $num = 10;
public function selected($selected){
    $x = $selected  + $num; 
}
 
    