I made a virtual keyboard that generates the numbers and returns in json, for example:
[0] => Array
(
[a] => 1
[b] => 5
)
[1] => Array
(
[a] => 6
[b] => 7
)
[2] => Array
(
[a] => 4
[b] => 9
)
[3] => Array
(
[a] => 8
[b] => 2
)
[4] => Array
(
[a] => 3
[b] => 0
)
The above code generates the numbers in the following format: A or B For example: Press this button if your password is between A or B.
And along with this code, it has a variable that defines the person's password, in which case the password is 011232. The values that the virtual keyboard gives are random.
I need a code that takes the values between the 5 buttons and check button by button, if the variable password is equal to one of two values (A and B)
Thank you in advance.