I am wondering if we could have one variable equals two string values? I made a login form which is not required username, only requires password. if the password matches, then it displays the the right person name. I fully understand this is not a right way or a secure way to do login form, but this form will only internally for 5 people use.
inside the php file, I set the $username = "PersonName";
the form only requires password,
if the password is correct, this person could login and the name "PersonName1" on the page. I use mysql
$result = mysql_query("SELECT * FROM users WHERE username='$username' AND password='$password_encrypt '");
If I want to add another PersonName2
can I have $username="PersonName1" || $username = "PersonName2";
or if someone could give me some ideas? Many thanks