Ex.01 完了
This commit is contained in:
17
Question10-class/User.php
Normal file
17
Question10-class/User.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class User {
|
||||
|
||||
public $user_id;
|
||||
public $user_name;
|
||||
public $mail;
|
||||
public $password;
|
||||
|
||||
public function say (){
|
||||
echo "ユーザーID(整数):" .$this ->user_id . "<br>";
|
||||
echo "ユーザー名(文字列):" .$this ->user_name ."<br>";
|
||||
echo "メールアドレス(文字列):" .$this ->mail ."<br>";
|
||||
echo "パスワード(文字列)" .$this ->password ."<br>";
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user