PHP for Beginners course: ➤ https://davehollingworth.net/phpy
PHP MVC course: ► https://davehollingworth.net/phpmvcy
If you have a short PHP script that contains a form, and you want to process that form in the same script, then you need to detect whether the form has been submitted or not.
In this video we'll look at how NOT to do it (even though there's lots of code out there that does it the wrong way) and the recommended way.
Code shown in the video:
https://gist.github.com/daveh/ff121a0...
Documentation shown in the video:
PHP $_POST:
https://www.php.net/manual/en/reserve...
PHP $_SERVER:
https://www.php.net/manual/en/reserve...
Смотрите видео How to check if a form has been submitted in PHP онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dave Hollingworth 01 Март 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,791 раз и оно понравилось 54 людям.