N
N
Newn2018-03-21 18:14:04
PHP
Newn, 2018-03-21 18:14:04

How to compare input data in input with php variable?

Good afternoon. The crux of the matter is this. For example, I get a random number that comes to my mail. The site stores this number in a php variable, how can I compare the entered number in input. Those. the number matched, let's move on.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2018-03-21
@Newn

if ($vvedennoe_chislo === $chislo_kotoroe_hranitsa_na_saite) {
  echo "идем дальше";
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question