producing the Output in the picture above? I really don't know what I'am making wrong. The code ist the following:
<?
require_once(".authorized_tokens.php");
class auth extends tokens {
function auth($token, $id){
if($token[$id] == self::$_tokens) {
return true;
} else {
return false;
}
}
}
$auth = new auth();
echo $auth->auth("123", "0");
?>
That's not the same code? 👀
There's an extra bracket in your pic, but not in your code example
Обсуждают сегодня