This is the exercise to make a simple number guess game.
So, I get the number from html. using $_GET["guess"].
Put the value in $guess.
strlen() checks whether user put the number or not.
is_numeric() checks whether it is number or not.
I set the random number is 55 in this time.
'Web Programming ๐ > Back-End ๐ฅท๐ป' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Session with PHP (0) | 2023.05.07 |
---|---|
Cookies (0) | 2023.05.03 |
PHP Exercise: popcorn bill (0) | 2023.04.25 |
PHP Form (0) | 2023.04.25 |
PHP function & Array (0) | 2023.04.25 |