PHP For Beginners, Ep 25 - Intro to Forms and Request Methods

PHP For Beginners, Ep 25 - Intro to Forms and Request Methods

Laracasts

1 год назад

10,146 Просмотров

We're overdue, but it's finally time to dig into forms. In this lesson, we'll learn how to submit a form using two different request methods. Next, we'll discuss how our controller might detect whether a POST submission has occurred. Watch this full series at http://phpforbeginners.com.

Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.

Laracasts: https://laracasts.com

Laracasts Twitter: https://twitter.com/laracasts
Jeffrey Way Twitter: https://twitter.com/jeffrey_way

Тэги:

#web_development #php #programming #laravel #laracasts #jeffrey_way #coding
Ссылки и html тэги не поддерживаются


Комментарии:

@AdolfEzeribe
@AdolfEzeribe - 30.04.2023 19:18

When you say,
If(isset($_GET['search'] && !empty($_GET['search'])
{

$search = $_GET['search'];
} else {
return false;
}

What is it about this code that will cause the html form part of the code, below the PHP part, to fail to display ?

Ответить
@jediampm
@jediampm - 12.12.2022 21:57

Hi,
so by your logic then note route should be, for example, ' /notes/show ' !!!!! 😅

Ответить
@m.iihlas5864
@m.iihlas5864 - 07.12.2022 19:19

Please put PHP Mailer function

Ответить
@ShubhamMishra-uw9yi
@ShubhamMishra-uw9yi - 05.12.2022 19:56

Is there any upcoming courses on laravel 8 or 9 ? Looking forward to learn from you

Ответить
@devnullex
@devnullex - 05.12.2022 13:23

Is there any chance to see this as a github repository? I would like to train with this code

Ответить
@swancompany_inc
@swancompany_inc - 04.12.2022 17:18

Hey Jeffery. I'm a lifetime member with laracasts and follow your content closely. If anyone hasn't mentioned this to you before, you are very good at what you do and provide so much value to people like me. Keep up the great work! -Mike

Ответить
@jonasbirkelof3614
@jonasbirkelof3614 - 04.12.2022 00:24

I have been coding PHP for years and I still get tips and ideas on how to solve things in my code. I know all of the form stuff, but that return-array and var-require thingy is a thing I’ve never thaught of and I love it! 😂 waiting very impatiantly on the next episode!

Ответить
@abelmarkos5753
@abelmarkos5753 - 03.12.2022 22:34

Awesome Lesson waiting for the next one

Ответить
@DaviMartins99
@DaviMartins99 - 03.12.2022 21:25

This series is a blessing.
I'm not a begginer, but i'm still watching 'cause there's something very satisfying about Jeffrey writing vanilla PHP code lol

Ответить
@frsn.bangladesh522
@frsn.bangladesh522 - 03.12.2022 20:28

if you create PHP advanced series it significantly helps us with our PHP journey 😍😍

Ответить